yarn web-bundle
Creates an optimized bundle that you can deploy, in /build
. You can serve this with any static file server.
yarn deploy
Uses gh-pages
to bundle the optimized version of the website and deploys directly to Github Pages (the gh-pages git branch).
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 expo
command-line tool, and run the publish command:
npm install -g expo-cli
expo 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.