Running the app
To build and run the app, you have two options.
Option 1: Download the apk file and start the react-native development server. (Recommended)
Follow the steps below to run the app on your android device.
- Take a development build for you project from partner dashboard. Refer the doc here to know how to take an app build.
For iOS, you can follow the steps here to run the app on the simulator.
- Install the apk file on your device.
Start the react-native development server by running the following command:
yarn start
Open development build on your device.
Shake the device to open the developer menu and click on "Settings"
Enter the IP address of the machine followed by the port number
:8081
and click on "Ok".Go back to the app and click on "Reload" on developer menu. (Shake the device again to open the developer menu)
You should now see the app running on your device.
Any changes you make inside
packages/<theme/extension>
folder will be reflected in the app. (You can pressr
on the terminal or click on "Reload" on developer menu to manually reload the app)
Option 2: To build and run the app on an Android/iOS emulator
Follow the steps below to run the app on your emulator.
For android, take an android development build for you project from partner dashboard. Refer the doc here to know how to take an app build.
Drag and drop the apk file on the emulator to install the app.
Start the react-native development server by running the following command:
yarn start
Open your development app on the emulator.
For iOS, you can follow the steps here to run the app on the simulator.
Next steps
Now that you have set up the starter app, you can start customizing it or create a custom plugin. To learn more about customizing the app theme, check out the Customizing app theme section.