# Push Notification

### Push Notifications

Goto: <https://firebase.google.com/docs/cloud-messaging/ios/certs>

**Create a Firebase App**

First, you should create a free Firebase account and create a new project there. You can visit firebase.google.com and signup if you don't have an account with Google earlier, and if you have an account, you can create a firebase app project. You can enter the project Name and Select Region, and it will create a Firebase project for you.

Once the project gets Created, Navigate into Overview menu on the left side there you can see project overview and under that click on project settings and **Add Firebase to your android app** as displayed in the below screenshot.

![](https://2410711943-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LCS9kK5zn3Nku8zNR1a%2F-LotJM28397ughPBzWoX%2F-LotNdFH82g8dhyFWnAW%2Fnew%20crop%201.png?alt=media\&token=1e7825ef-b558-4a1c-8f40-2f0b1f529759)

After that, it navigates to the page where you can enter your android package name then click on register app, and you will find an option to download the google-services.json file as displayed in the below screenshot

![](https://2410711943-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LCS9kK5zn3Nku8zNR1a%2F-LotJM28397ughPBzWoX%2F-LotO5OcdhiGqsXKxZsA%2Fnew%20crop%202.png?alt=media\&token=d848fefb-0a0f-4191-b7ba-e0ce47d88f11)

You need to Generate for **Android** download `google-services.json` file and place it in `android/app` directory and for **iOS** download `GoogleService-Info.plist` file and place it in `/ios/your-project-name` directory (next to your `Info.plist`)

Make sure you have certificates setup by following <https://firebase.google.com/docs/cloud-messaging/ios/certs>

SETUP android and iOS: <https://www.npmjs.com/package/react-native-fcm>

If you want notification so you can set up and get it.
