# Android React Native Setup

<admonition type="warning">

This documentation is legacy. For the current docs, see the guide in the [React Native UI Components Docs](/chat/docs/sdk/react-native/guides/push-notifications-v2/).

</admonition>

For Android, we’ll be using [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) to power push notifications:

#### Step 1 - Get your google-services.json

- Go to the [Firebase Console](https://console.firebase.google.com/u/0/), create a new application OR select an existing project.

- Go to  `Project Settings`  and under the  `General`  tab.

- Click on  `Your Apps` , add an  **Android**  application, and download your  `google-services.json`  file – you need to put this in the root of your projects android directory.

![undefined](https://getstream.imgix.net/images/docs/chat_push/google_services.png?auto=compress&fit=clip&w=800&h=600)

#### Step 2 - Configure google-services

Put  `google-services.json`  in the root of your project's android directory (e.g.  `./android` .

Make sure  `google-services.json`  file is included in your Android project’s dependencies by navigating to your project level build.gradle file ( `./android/build.gradle` ) and adding the following line:

<codetabs>

<codetabs-item value="groovy" label="Groovy">

```groovy
buildscript {
	// ...
	dependencies {
		// ...
		classpath 'com.google.gms:google-services:+'
		// ...
	}
	// ...
}
```

</codetabs-item>

</codetabs>

#### Step 3 - Setup dependencies

Following the setup instructions mentioned here - <https://github.com/zo0r/react-native-push-notification#android-manual-installation>

Unlike iOS, the Android emulator does support push notifications - just make sure you use an emulator with Google Play Services installed (shown by the Play Store Icon in the AVD Manager)

![undefined](https://getstream.imgix.net/images/docs/chat_push/google_play.png?auto=compress&fit=clip&w=800&h=600)

---

This page was last updated at 2025-08-15T14:15:16.886Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/react-native/rn_push_android/](https://getstream.io/chat/docs/react-native/rn_push_android/).