- SDK Version: 49
- Android:
Login works in dev mod, but when I build and istall .apk in device it shows Network error.
esa.json :
{
"build": {
"production": {
"android": {
"buildType": "apk",
"gradleCommand": ":app:assembleDebug"
}
}
}
}
app.json
{
"expo": {
"name": "ccc",
"slug": "ccc",
"owner": "ccc",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./src/assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./src/assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": ["**/*"],
"android": {
"adaptiveIcon": {
"foregroundImage": "./src/assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.symbol.datawedge.ACTION_BARCODE_SCANNED",
"permissions": [
"CAMERA",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE",
"FOREGROUND_SERVICE",
"WRITE_SETTINGS",
"VIBRATE"
]
},
"web": {
"favicon": "./src/assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
"plugins": [
[
"expo-build-properties",
{
"android": {
"usesCleartextTraffic": true
}
}
]
]
}
}