expo: App crashing on load for iOS with following error
My app is crashing on load only on iOS (SDK 24) and seems to only occur about 30% of the time. The app loads the splash screen and after a few seconds it will crash with the following error:
There was a problem loading this experience.
Try Again
Error: undefined is not an object (evaluating 'a.remove')
Error Code: CLIENT_LOADING_ERROR
Status Code: 1
App.json
{
"expo": {
"sdkVersion": "24.0.0",
"primaryColor": "#FB4F94",
"icon": "./src/assets/appLogo.png",
"packagerOpts": {
"assetExts": ["ttf"]
},
"android": {
"package": "com.appidentifier.app",
"versionCode": 4,
"config": {
"googleMaps": {
"apiKey": "my-api-key"
}
}
},
"ios": {
"bundleIdentifier": "co.appidentifer.here",
"supportsTablet": true,
"isRemoteJSEnabled": true,
"infoPlist": {
"NSCameraUsageDescription": "This app needs permission to use your camera in order to take photos for your posts.",
"NSLocationWhenInUseUsageDescription": "This app needs permission to use your location in order to pin point your posts."
}
},
"notification": {
"androidCollapsedTitle": "Here",
"icon": "./src/assets/logo.png"
},
"loading": {
"hideExponentText": true
},
"splash": {
"image": "./src/assets/splash.png",
"resizeMode": "cover"
},
"assetBundlePatterns": [
"src/assets/**",
"node_modules/react-navigation/src/**/*.png",
"node_modules/@expo/vector-icons/fonts/*.ttf"
]
}
}
Package.json
{
"name": "appName",
"version": "0.1.0",
"private": true,
"devDependencies": {
"jest-expo": "^24.0.0",
"react-native-scripts": "1.5.0",
"react-test-renderer": "16.0.0-alpha.12"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js --watch"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^6.2.0",
"es6-promise": "^4.1.1",
"expo": "^24.0.0",
"moment": "^2.19.2",
"native-base": "^2.3.2",
"react": "16.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz",
"react-native-google-places-autocomplete": "^1.3.6",
"react-native-map-clustering": "^1.2.8",
"react-native-maps": "^0.17.1",
"react-native-slider": "^0.11.0",
"react-native-swipe-gestures": "^1.0.2",
"react-navigation": "^1.0.0-beta.19",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
}
}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
@ewein - quick tip for you: try to isolate the error and reproduce on https://snack.expo.io. the only way anyone could possibly help with the code that you have provided is to carefully read every line and guess what error you might be getting and what might cause that