Note: Make sure you have completed the React Native - Environment Setup instructions before proceeding.
# Navigate to the project root
cd ..
npm install
# OR using Yarn
# yarn install
cd example
npm install
To start Metro, run the following command from the example folder:
npm startLet Metro Bundler run in its own terminal. Open a new terminal. Run the following command to start the Android or iOS app:
# using npm
npm run android
# OR using Yarn
yarn androidInstall the dependencies:
cd ios
pod install
# OR using npm
npx pod-installYou will need to change the Code Signing team to your own team. Additionally, you may need to setup your own App Groups + Keychain Sharing values.
Please note that if you want the example app to work in the background, you will need to setup an APNS key, and email us at sdk@zello.com. Lastly, you'll need to modify the App Group value in this file.
# using npm
npm run ios
# OR using Yarn
yarn iosIf everything is set up correctly, you should see the new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run the app — you can also run it directly from within Android Studio and Xcode respectively.
If you can't get this to work, see the Troubleshooting page.