Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
NodeJS
Make sure you have a recent version (8.11 or later) of installed globally.
React Native Developer Tools
Ensure that development tools and their prerequisites are installed globally.
The instructions are a bit different depending on your operating system (MacOS, Windows, Linux) and the target development environment (Android, OS).
You must follow the guide in the tab labeled . The basic tutorial explaining the main principles of React Native is also very useful for a first start of React Native.
Expo
Globally installed :
Run npm install -g expo
in your terminal to install expo
Run npm install -g expo-cli
in your terminal to install expo CLI
If you are planning to user OIDC authentication with providers like Google, , Okta or OAuth0, You have to create an account and setup Authentication Realm/Client. For more details, you can read this instructions on the Guide Section →.
Once the React Native prerequisites are installed on your environment, you can retrieve the application code from the Git repository and install the necessary dependencies.
In the command prompt, run the following commands:
Create a .env
file on your workspace :
Update environment variables:
In your terminal, run the following command to launch the app in an IOS Emulator:
OR:
Run the following command to launch the app and Scan the QR code in your Expo app:
You must open the Android emulator manually or connect your device to USB debug mode.
In your terminal, run
OR:
In your terminal, run the following and then Scan the QR code in your Expo app:
1.Remove the mock code
Open the this file src/utils/api.js
and comment this Mock code block:
2. Launch the API server
3. Launch the App
The default config use to mock API call. To use the provided API example, follow this steps: