---
title: Step 4. Configuring Android apps for push notifications
description: Explains how to configure your Android app project to receive push notifications.
component: orchsdks
page_id: orchsdks:journey:use-cases/push/android/04_configure_app_for_push
canonical_url: https://developer.pingidentity.com/orchsdks/journey/use-cases/push/android/04_configure_app_for_push.html
revdate: Mon, 23 Mar 2026 16:18:00 +0100
keywords: ["Push", "MFA", "Strong Auth", "Integration", "SDK", "mobile", "authentication", "notification", "Android", "FCM", "Android Studio"]
---

# Step 4. Configuring Android apps for push notifications

[icon: circle-check, set=far]PingOne Advanced Identity Cloud [icon: circle-check, set=far]PingAM [icon: android, set=fab]Android

In this step, you configure your application project to use Firebase Cloud Messaging.

1. In Android Studio, open your project and switch to the Project view.

2. Copy the `google-services.json` file that you [downloaded from the Firebase console](01_configure_push_for_android.html#create_firebase_key) into the app-level root directory of your project:

   ![android studio google services json en](../../../_images/push/android-studio-google-services-json-en.png)Figure 1. Adding the `google-services.json` to the app root in Android Studio.

3. To make the file available to the app, add the Google services Gradle plugin (`com.google.gms.google-services`) as a dependency to your project.

   1. In your ***root-level*** Gradle file:

      * Kotlin

      * Groovy

      `build.gradle.kts`

      ```kotlin
      plugins {
          // ...

          // Add the dependency for the Google services Gradle plugin
          id("com.google.gms.google-services") version "4.4.2" apply false
      }
      ```

      `build.gradle`

      ```groovy
      plugins {
          // ...

          // Add the dependency for the Google services Gradle plugin
          id 'com.google.gms.google-services' version '4.4.2' apply false
      }
      ```

   2. In your ***app-level*** Gradle file:

      * Kotlin

      * Groovy

      `build.gradle.kts`

      ```kotlin
      plugins {
          // ...

          // Add the Google services Gradle plugin
          id("com.google.gms.google-services")
      }
      ```

      `build.gradle`

      ```groovy
      plugins {
          // ...

          // Add the Google services Gradle plugin
          id 'com.google.gms.google-services'
      }
      ```

4. Switch to the Android view in Android Studio, and add the `android.permission.POST_NOTIFICATIONS` permission inside the `<manifest>` element in the `AndroidManifest.xml` file:

   Adding post notification permission to `AndroidManifest.xml`

   ```xml
   <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
   ```
