Allow standalone apps to load and function with no internet connection
complete
Cory Buckley
Standalone apps should work without an internet connection, or if Expo's services are unavailable.
Android standalone apps already bundle a project's JavaScript and manifest, but static (image, font, etc.) assets are not bundled yet.
iOS standalone apps need to bundle everything (app manifest, JavaScript, assets) to support this feature.
Stephen Gladney
We're seeing crashes when users switch away from and then back to our app when there is poor internet connectivity.
zhaozhiming
Is it complete? How to make app load without internet connection?
zhaozhiming
Ah... I think I have find the document. https://docs.expo.io/versions/latest/guides/offline-support#content
Eric Zeng
Hi Brent Vatne, I don't think the latest update for offline-support fulfil this feature...
There must be some mis-understanding, we are talking about Apps function with no internet connection. Not to load the JS in the background, without network, how does the background job work??
Eric Zeng
Sorry I should dig more, it works perfect.
Sebastian Schlecht
Eric Zeng: How did you resolve the problem? I'm facing the same issue.
Eric Zeng
Sebastian Schlecht: You should be able to make it by following this: https://docs.expo.io/versions/v27.0.0/guides/offline-support
Sebastian Schlecht
Eric Zeng: Thanks for your response. I tried that, however I'm experiencing this issue now:
Brent Vatne
complete
Walid Shaita
"Right now that's fully supported in Android standalone builds" ? I still need to have internet to open the app on Android. Did I miss something or Android is still not supported ?
Thanks for the job on Expo !
trsh
Walid Shaita: Same here. How this can still be a problem? Bananas
Tiago Provenzano
Are there any updates on this? After a few months developing I just learned about this and am frustrated with the whole thing.
Is there a solution for iOS? My users can do a very first load while online as my app caches data from a database, but they will need to be able to load the app while offline after.
Could anyone clarify this, please?
Ari S
Tiago Provenzano: Check out the latest SDK 24. It supports bundling images.
Prasad Ajinkya
Hi, is there a way to stop the crashing on Android? Right now in low connectivity areas, the app crashes simply because the icon file is being loaded from cloudfront :-(
Can we trap these exceptions?
Vernon Thommeret
The docs currently say this:
"If you build a standalone app with Expo, that standalone binary will also ship with a “pre-cached” version of your JavaScript so that it can cold launch the very first time with no internet."
Based on this ticket, should this be updated to say that this is only supported on Android?
Leonardo Rebitte
Hi Guys, We're experiencing the same issue here. Lag to open Expo cause the Internet Connection. https://youtu.be/dQh3O2pBb-s
Andrey Pyankov
This causes a huge number of crashes on Android (hundreds of users daily). There are slow internet connections in many places around the world.
Load More
→