Android App Freezes at 100% Loaded in Expo and Standalone

Please provide the following:

  1. SDK Version: 38.0
  2. Platforms(Android/iOS/web/all): Android

When the app reaches 100% loaded in the expo app, as well as completely loading in the standalone, the app freezes on the splash screen. This is only for android, I tried this out on the latest Android 10 and it worked, but it only works some of the time for devices less than Android 10. I recently upgraded to SDK 38.0 so I’m not sure if that’s the issue, but that’s because I never tried loading my app before I upgraded to 38.0.

I saw plenty of resources online that mention that certain packages don’t translate to Expo, so here is a list of my packages. Even though I don’t think this is the problem since I was paying attention to that when picking them.

{
  "main": "node_modules/expo/AppEntry.js",
  "description": "...",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start",
    "android": "cross-env REACT_EDITOR=code expo start --android",
    "ios": "cross-env REACT_EDITOR=code expo start --ios",
    "eject": "expo eject",
    "test": "node ./node_modules/jest/bin/jest.js --watchAll"
  },
  "dependencies": {
    "@apollo/react-hooks": "^3.1.3",
    "@expo/react-native-action-sheet": "^3.8.0",
    "@react-native-community/art": "^1.2.0",
    "@react-native-community/datetimepicker": "2.4.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-navigation/bottom-tabs": "^5.1.1",
    "@react-navigation/compat": "^5.1.1",
    "@react-navigation/native": "^5.0.9",
    "@react-navigation/stack": "^5.1.1",
    "apollo-boost": "^0.4.7",
    "cloudinary-core": "^2.8.1",
    "expo": "^38.0.0",
    "expo-analytics": "^1.0.15",
    "expo-analytics-amplitude": "~8.2.1",
    "expo-asset": "~8.1.7",
    "expo-auth-session": "~1.4.0",
    "expo-branch": "~2.2.1",
    "expo-camera": "~8.3.1",
    "expo-facebook": "~8.2.1",
    "expo-font": "~8.2.1",
    "expo-image-picker": "~8.3.0",
    "expo-linear-gradient": "~8.2.1",
    "expo-linking": "^1.0.1",
    "expo-location": "~8.2.1",
    "expo-notifications": "~0.3.3",
    "expo-permissions": "~9.0.1",
    "expo-web-browser": "~8.3.1",
    "galio-framework": "^0.6.3",
    "geolib": "^3.2.1",
    "graphql": "^14.6.0",
    "graphql-tag": "^2.10.3",
    "jwt-decode": "^2.2.0",
    "moment": "^2.24.0",
    "moment-timezone": "^0.5.28",
    "react": "16.11.0",
    "react-apollo": "^3.1.3",
    "react-dom": "16.11.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",
    "react-native-auth0": "^2.2.0",
    "react-native-collapsible": "^1.5.2",
    "react-native-countdown-component": "^2.7.1",
    "react-native-deck-swiper": "^1.6.7",
    "react-native-gallery-swiper": "^1.26.0",
    "react-native-gesture-handler": "~1.6.0",
    "react-native-image-crop-picker": "^0.28.0",
    "react-native-keyboard-accessory": "^0.1.10",
    "react-native-keyboard-aware-scroll-view": "^0.9.1",
    "react-native-modal-datetime-picker": "^8.7.1",
    "react-native-modal-dropdown": "^0.6.2",
    "react-native-open-maps": "^0.3.5",
    "react-native-picker-select": "^7.0.0",
    "react-native-progress": "^4.0.3",
    "react-native-reanimated": "~1.9.0",
    "react-native-safe-area-context": "~3.0.7",
    "react-native-screens": "~2.9.0",
    "react-native-simple-toast": "^1.1.1",
    "react-native-tab-view": "^2.14.0",
    "react-native-view-overflow": "0.0.5",
    "react-native-walkthrough-tooltip": "^1.1.7",
    "react-native-web": "~0.11.7",
    "react-native-webview": "9.4.0",
    "react-navigation": "^3.11.0",
    "rn-placeholder": "^3.0.1",
    "expo-store-review": "~2.1.2"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "devDependencies": {
    "babel-preset-expo": "^8.2.3",
    "cross-env": "^5.2.0",
    "expo-cli": "^2.4.0",
    "jest-expo": "^38.0.0"
  },
  "private": true
}

Any help is much appreciated!

Hey @tanarin,

It would be helpful to look into the native device logs with your standalone app to help figure out what’s going on here. You can read our guide on debugging here: https://docs.expo.io/workflow/debugging/#my-production-app-is-crashing

Cheers,
Adam

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