Expo应用程序在开发方面运作良好,但是从Google Play下载时会崩溃
我使用Expo开发了我的应用程序,并且能够通过Expo应用使用模拟器和实际设备对其进行测试。但是,当我上传在Google Play上并下载时,它立即崩溃。苹果也拒绝了它崩溃了。我没有任何日志要继续前进,我一直在徒劳地重现Expo中的错误。我尝试运行EXPO开始-NO-DEV
和expo start -no-dev -minify
,但这无济于事。这是我的JSON文件
{
"expo": {
"name": "App Name",
"slug": "App-Name",
"version": "2.0.2",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"config": {
"googleMobileAdsAppId": "Ca-app-pub-xxxxx"
},
"bundleIdentifier": "com.xxxxxx",
"buildNumber": "2.0.2"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
},
"config": {
"googleMobileAdsAppId": "Ca-app-pub-xxxx"
},
"package": "com.xxxxxx",
"versionCode": 6,
"permissions":[]
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
I developed my app using expo and I was able to test it using both simulator and actual devices through the expo app. However, when I uploaded on google play and downloaded it, it crashes right away. It also got rejected by apple saying that it crashed. I don't have any logs to go on and I have been trying to reproduce the error in expo in vain. I tried running expo start --no-dev
and expo start --no-dev --minify
but that did not help. Here is my json file
{
"expo": {
"name": "App Name",
"slug": "App-Name",
"version": "2.0.2",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"config": {
"googleMobileAdsAppId": "Ca-app-pub-xxxxx"
},
"bundleIdentifier": "com.xxxxxx",
"buildNumber": "2.0.2"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
},
"config": {
"googleMobileAdsAppId": "Ca-app-pub-xxxx"
},
"package": "com.xxxxxx",
"versionCode": 6,
"permissions":[]
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论