How does standalone build and publish work?

Hi,

I’m having a hard time understanding how Expo publishing works. When I make a standalone build to publish to the app store on iOS. How does Expo know to serve the JS bundle from the published URL instead of developmentUrl?

(Its a detached app and technically I use fastlane ios beta to release builds)

hi @darkwata,

When you perform a publish, a js bundle is created and uploaded onto the Expo servers. A link to the expo server is then embedded when you perform a standalone build. This way, the standalone app will be able to fetch the most recent bundle as needed from the Expo servers.

In development, a link to your local machine’s server is produced instead. This way, when we hot reload your code in development, the bundle is pulled from the local machine’s server.

more info here: https://docs.expo.io/versions/v27.0.0/workflow/publishing

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.