Using Expo and working with RN last half year. It is a great product set and actually I’ve already published with it.
I’ve followed all steps for caching of assets, made my build according to instructions (exp cli) and actually got all resources cached well.
However I can’t figure out how to make application not crash if there is no network and bundled JS can’t be updated.
Even after couple of re-starts, I found that if network is off, application will fail to start as it looks for bundle script on cloudfront.net.
Here is the log from logcat:
01-10 01:19:13.157 29005-29870/? E/b: Couldn’t preload bundle: java.net.UnknownHostException: Unable to resolve host “d1wp6m56sqw74a.cloudfront.net”: No address associated with hostname
Anybody has any experience with this please?