Код: Выделить всё
{
"expo": {
"name": "MyApp",
"slug": "my-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"newArchEnabled": false,
"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.example.myapp",
"infoPlist": {
"UIBackgroundModes": ["remote-notification"],
"ITSAppUsesNonExemptEncryption": false
},
"entitlements": {
"aps-environment": "production"
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"package": "com.example.myapp",
"permissions": ["NOTIFICATIONS"]
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"useFrameworks": "static"
}
}
],
"expo-notifications"
],
"extra": {
"eas": {
"projectId": "YOUR_PROJECT_ID"
}
}
}
}
- Добавлено "APS-Environment": "Производство" в iOS.Entitlements Поле App.json
- подтверждает, что exprotifications
- . /> подтвердил, что я использую EAS Build, а не Expo Build
- Проверил, что Expo -Doctor не показывает никаких ошибок схемы
- Я тестирую на реальном устройстве, а не симулятор
Подробнее здесь: https://stackoverflow.com/questions/797 ... n-build-in