Install the React Native CLI
$ npm install -g react-native-cliInstall the NPM package dependencies
$ npm installIf your are developing with Android, setup the Android Studio.
If your are developing with iOS, setup the Xcode.
Follow this link for more details.
Run on the Android device or emulator
$ react-native run-androidRun on the iOS Simulator
$ react-native run-ios-
Create new file named
.env.developmentand specifyAPI_ENDPOINTandONESIGNAL_APP_ID -
Run TangleID Client
# Android
$ ENVFILE=.env.development react-native run-android # bash
$ SET ENVFILE='.env.development' && react-native run-android # windows
$ env:ENVFILE=".env.development"; react-native run-android # powershell
# iOS
$ ENVFILE=.env.development react-native run-ios # bash
$ SET ENVFILE='.env.development' && react-native run-ios # windows
$ env:ENVFILE=".env.development"; react-native run-ios # powershell