После сборки я получил ошибку «Ошибка сетевого запроса».
Я хотел запустить HTTP без SSL после iOS build.
Это мой файл app.json
Код: Выделить всё
{
"expo": {
"name": "VSOLV People",
"slug": "VSOLV-People",
"version": "1.0.7",
"orientation": "portrait",
"icon": "./app/assets/pictures/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./app/assets/pictures/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.vsolv.people",
"buildNumber": "28",
"infoPlist": {
"NSLocationAlwaysAndWhenInUseUsageDescription": "This app needs access to your location to check your work premises, such as your client's location, branch offices, or main office, for attendance tracking and verification purposes.",
"NSAppTransportSecurity": {
"NSAllowsArbitraryLoads": true,
"NSAllowsArbitraryLoadsForMedia": true,
"NSAllowsArbitraryLoadsInWebContent": true,
"NSAllowsLocalNetworking": true
}
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./app/assets/pictures/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
},
"package": "com.vsolv.people",
"versionCode": 15
},
"web": {
"favicon": "./app/assets/pictures/favicon.png"
},
"extra": {
"eas": {
"projectId": "cae93ac2-6b5c-494d-82db-aee387b2ff18"
}
},
"plugins": [
[
"expo-build-properties",
{
"android": {
"usesCleartextTraffic": true
}
}
]
]
}
}
Подробнее здесь: https://stackoverflow.com/questions/782 ... act-native