I understand that the “AppRegistry is not a registered callable module” error means that there was an issue that stopped the application from starting. This is an error that’s only happening in production on my application. I’ve tried running the application through the exp cli
by issuing the exp start --lan --no-dev --minify
flags to simulate a production environment, but the application will load fine when loading from LAN.
When I load it from Expo directly, there’s an issue. The problem here is that there’s no logs to help, and even when using exp
it’s working fine through LAN (on simulator and device) so I can’t debug the reason that the application will not start.
The only information I can get is from the “Problem loading this experience” screen which results in Error Code: CLIENT_LOADING_ERROR
STATUS_CODE: 2
Loading from my private address on expo fires the app up just fine, but loading from the published expo version (Same exact package) results in a crash during launch. I’ve gone through every little thing I can think of, but with the app running just fine on one end with no issues, and not even starting on the other (WITH THE SAME PACKAGE) I’m left with a confusing issue to solve.
Yes, I’ve also tried just unchecking “Development mode” inside of XDE. Everything loads fine there too.
Here’s my app.json
{
"expo": {
"privacy": "unlisted",
"sdkVersion": "25.0.0",
"name": "Removed - For Privacy",
"slug": "removed-for-privacy",
"description": "This project is really great.",
"version": "1.0.0",
"orientation": "portrait",
"scheme": "removed",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": true,
"bundleIdentifier": "removed.for.privacy",
"buildNumber": "10",
"icon": "./assets/icon-ios.png",
"config": {
"usesNonExemptEncryption": false,
"branch": {
"apiKey": "key_live_*****"
}
}
},
"android": {
"icon": "./assets/icon-android.png",
"package": "removed.for.privacy",
"config": {
"branch": {
"apiKey": "key_live_*****"
}
}
},
"androidStatusBar": {
"backgroundColor": "#808080"
},
"assetBundlePatterns": ["assets/images/*", "assets/fonts/*", "assets/videos/*", "assets/sounds/*"]
}
}
Using the tunnel works as well and other users can load the app just fine.