Self-hosted remote js bundle / assets
complete
Brent Vatne
complete
you can do this now: https://docs.expo.io/versions/latest/distribution/hosting-your-app
Wassim Gharbi
I'm a bit confused, isn't there a way to include the js bundle and assets within the apk/ipa like regular react native or is having a server necessary?
Joseph Che
Wassim Gharbi: not for now, when you detach to Expo SDK you still need to run "ext publish" that will upload the JS to the server (through you will have the local copy of the JS bundled with the app)
Wassim Gharbi
Joseph Che: if the bundle is already available offline wouldn't it be trivial to disable the remote fetching and be independent from expo's servers?
Joseph Che
Wassim Gharbi: that would be awesome, but figured out that its not trivial with existing ExpoSDK implementation and build tool still needs to be revised to get rid of the remote fetching
Brent Vatne
in progress
we're working on this now and it's coming along nicely! no eta yet though
Lucas Ferreira Boleli
Also it'd be nice to have a backup plan when we need to build and expo is offline for some reason.
Y
Yang Yang
Yeah, it's a great idea. A lot of services has been blocked in China, including GCP and AWS.
Gaurav Harchwani
Any updates on this? Is the expo team positive on the view of self hosting?
Ben Roth
planned
Atinder
Same here in India. sometime even asset images don't load during first app launch.