This is a new React Native project, bootstrapped using @react-native-community/cli
.
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
npm install
Add the following files:
- selligent.json (root project directory)
- android/app/google-services.json
The setup was only done for Android, iOS is not supported.
npm run android
If everything is set up correctly, you should see your new app running in your Android Emulator.
The app will ask for permissions to send push notifications. Grant the permission and start sending Push+InApp messages.
When an InApp message is received, an alert will be displayed.