For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LoginTalk to us
DocumentationSDKsConnectAPI Reference
DocumentationSDKsConnectAPI Reference
  • Introduction
    • Overview
  • Mobile Push
    • Flutter Push SDK
    • React Native Push SDK
      • Prerequisites
      • Installation
      • Usage
      • Android specific configuration
      • IOS specific configuration
      • FAQs
    • Kotlin Push SDK
    • Swift Push SDK
  • In-App
    • React In-App SDK
    • React Native In-App SDK
    • Flutter In-App SDK
  • Web Push
    • Web Push SDK
  • TOTP
    • TOTP Swift SDK
    • TOTP Kotlin SDK
LogoLogo
LoginTalk to us
Mobile PushReact Native Push SDK

React Native - Android Push Notification Setup

Was this page helpful?
Previous

React Native - IOS specific configuration

Next
Built with
  • In your root-level (project-level) gradle file (project_name/build.gradle), add the Google services plugin as a dependency:
project_name/build.gradle
1dependencies {
2 ...
3 classpath 'com.google.gms:google-services:4.3.15'
4 ...
5}
  • In your module (app-level) gradle file (usually project_name/app_name/build.gradle), add the Google services plugin:
project_name/app_name/build.gradle
1plugins {
2 ...
3 id 'com.google.gms.google-services'
4 ...
5}

OR

project_name/app_name/build.gradle
1apply plugin: 'com.google.gms.google-services'