In eas.json file
this is only for expo apk for production only
{
"cli": {
"version": ">= 16.18.0",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"autoIncrement": true,
"android": {
"buildType": "apk"
}
},
"production-apk": {
"android": {
"buildType": "apk",
"gradleCommand": ":app:assembleRelease"
}
}
},
"submit": {
"production": {}
}
}
For creating the ios devlopment build run in semulator
npx expo prebuild --platform ios --clean
# Then try building again
npx expo run:ios
apk file
{
"cli": {
"version": ">= 16.18.0",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
},
"preview": {
"distribution": "internal"
},
"production": {
"autoIncrement": true,
"android": {
"buildType": "apk"
},
"ios": {
"distribution": "store"
}
},
"production-apk": {
"android": {
"buildType": "apk",
"gradleCommand": ":app:assembleRelease"
}
}
},
"submit": {
"production": {}
}
}
Top comments (1)
first comment