App crashes SDK 39

  1. SDK Version: 39
  2. Android Version: 8,9,10

Other details
OS : MacOs Mojave 10.14.6
JAVA: jdk1.8.0_271.jdk
Gradle 5.6.2
sdkmanager --version. 26.1.1

I am facing strange issue on Expo 39, My app’s apk crashes after few hours of testing. Please help me out on this here is my package.json

Same issue I am getting in APKs/Bundles created by npx command after ejecting it to bare workflow.

Every thing works fine for few hours or max one day, after that it crashes and it never launches till reinstall.

Here is my app.json and package.json respectively
app.json
{
“expo”: {
“name”: AppName,
“slug”: appname,
“sdkVersion”: “39.0.0”,
“version”: “1.0.0”,
“privacy”: “public”,
“platforms”: [
“ios”,
“android”
],
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“resizeMode”: “contain”,
“backgroundColor”: “#ffffff
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“**/*”
],
“ios”: {
“bundleIdentifier”: “com.mrangrej”,
“buildNumber”: “1.0.0”,
“supportsTablet”: true
},
“android”: {
“package”: “com.mrangrej”,
“versionCode”: 0,
“adaptiveIcon”: {
“backgroundColor”: “#ffffff”,
“foregroundImage”: “./assets/icon.png”
},
“permissions”: [
“READ_EXTERNAL_STORAGE”
]
}
}
}

package.json of Expo Manged Workflow

{
“main”: “node_modules/expo/AppEntry.js”,
“scripts”: {
“start”: “expo start”,
“android”: “expo start --android”,
“ios”: “expo start --ios”,
“web”: “expo start --web”,
“eject”: “expo eject”
},
“dependencies”: {
@react-native-community/masked-view”: “0.1.10”,
@react-navigation/bottom-tabs”: “5.9.2”,
@react-navigation/native”: “5.7.6”,
@react-navigation/stack”: “5.9.3”,
“expo”: “~39.0.2”,
“expo-font”: “~8.3.0”,
“expo-secure-store”: “9.2.0”,
“expo-speech”: “~8.4.0”,
“expo-status-bar”: “~1.0.2”,
“native-base”: “2.13.14”,
“react”: “16.13.1”,
“react-dom”: “16.13.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz”,
“react-native-exception-handler”: “2.10.9”,
“react-native-gesture-handler”: “1.8.0”,
“react-native-progress”: “4.1.2”,
“react-native-reanimated”: “~1.13.0”,
“react-native-safe-area-context”: “3.1.4”,
“react-native-screens”: “~2.10.1”
},
“devDependencies”: {
@babel/core”: “~7.9.0”
},
“private”: true
}

Try running adb logcat to see what error message you get when this happens.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.