- Get familiar with Expo and their documentation if you haven't yet.
- Create new account at Expo.io
- Install expo-cli.
- Login using expo-cli in the terminal.
If you decided to use this module, then you will need to follow steps below carefully:
- Decide how your app's
slug
will look like. For example, for the starter I am usingexpo-rnn-starter
. - Open
app.json
from the root of the project and change"expo" --> "slug"
property to your own. - We need to define
EXPO UPDATE URL
for the project which we will put in to iOS and Android config files. It has following pattern --https://exp.host/@my-expo-username/my-app-slug
. For example, for the starter it would behttps://exp.host/@kanzitelli/expo-rnn-starter
. - Open
ios/Supporting/Expo.plist
and changeEXUpdatesURL
property to your own. - Open
android/app/src/main/AndroidManifest.xml
and changeEXPO_UPDATE_URL
meta-data property to your own. - Run
expo publish
from the root of the project. It will take some time. - Now you should be able to see the app in Expo dashboard.
- In order to test it, you will need to build the app in Release mode for both platforms. Once you do some changes in your code, don't forget to run
expo publish
.
If you would like to enable or disable expo-updates
, open ios/Supporting/Expo.plist
and change EXUpdatesEnabled
; and for Android open android/app/src/main/AndroidManifest.xml
and change ENABLED
meta-data property.
Before using expo-updates
in production, make sure you have read the documentation about this module, release channels etc.