Notification

React Native Push notification setup guide

Android

gradle changes

Open android/app/build.gradle and add below at bottom

apply plugin: 'com.google.gms.google-services'

Open project android/build.gradle and add google service dependency.

dependencies {
       ......
       classpath 'com.google.gms:google-services:3.0.0'
   }

FCM/GCM setup

Follow below documentation for FCM/GCM setup.

https://docs.applozic.com/docs/android-push-notification

iOS

Open AppDelegate.m file under /ios/YOUR_PROJECT/ and add code as mentioned in the following documentation.

https://docs.applozic.com/docs/ios-push-notification#section-setting-up-apns-certificates


What’s Next
Did this page help you?