npm run web-bundle
Creates a minified JavaScript bundle (that also houses the minified css) and places it next to the index.html in /build
that you can serve with any static file server.
Expo provides free hosting for the JS-only apps created by CRNA, allowing you to share your app through the Expo client app. This requires registration for an Expo account.
Install the exp
command-line tool, and run the publish command:
npm i -g exp
exp publish
Deploying to the App / Play Store https://docs.expo.io/versions/latest/introduction/already-used-react-native.html#deploying-to-the-app--play-store
Check out Expo's docs.
You can also use a service like Expo's standalone builds if you want to get an IPA/APK for distribution without having to build the native code yourself.