Loading
Salesforce now sends email only from verified domains. Read More
Identify Your Users and Manage Access
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure Android Push Notifications

          Configure Android Push Notifications

          To support push notifications for Android versions of your mobile app, collect information from a Google Firebase project. Then, create a separate connected app for the Android platform.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience

          Connected Apps can be created in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions

          Connected Apps can be installed in: All editions

          User Permissions Needed
          To read, create, update, or delete connected apps:

          Customize Application AND either

          Modify All Data OR Manage Connected Apps

          To update all fields except Profiles, Permission Sets, and Service Provider SAML Attributes:

          Customize Application AND either

          Modify All Data OR Manage Connected Apps

          To update Profiles, Permission Sets, and Service Provider SAML Attributes: Customize Application AND Modify All Data AND Manage Profiles and Permission Sets
          To rotate the consumer key and consumer secret: Allow consumer key and secret rotation
          To install and uninstall connected apps:

          Customize Application AND either

          Modify All Data OR Manage Connected Apps

          To install and uninstall packaged connected apps:

          Download AppExchange Packages AND Customize Application AND either

          Modify All Data OR Manage Connected Apps

          Note
          Note Connected apps creation is restricted as of Spring ‘26. You can continue to use existing connected apps during and after Spring ‘26. However, we recommend using external client apps instead. If you must continue creating connected apps, contact Salesforce Support.

          See New connected apps can no longer be created in Spring ‘26 for more details.

          If you have an existing Firebase project associated with your app, log in to the Google Cloud Console and select the project for your app. In the Enabled APIs & services page, confirm that the Firebase Cloud Messaging API is enabled for the project.

          1. If you have an existing Firebase project associated with your app, open the existing project. If not, create a project for your app in the Google Firebase Console.
            Important
            Important If you previously set up notifications for your Android app, make sure that you proceed with the next steps using the existing Firebase project associated with your app. To avoid any disruption in your app’s notifications, confirm that the sender ID in the Firebase project matches your app’s existing sender ID.
          2. In the Firebase project, click the cog icon next to Project Overview, and then click Project settings.
          3. Collect the Firebase project ID.
            1. Click the General tab.
            2. Record the value in the Project ID field. You need the project ID for a later step.
          4. Generate an Admin SDK private key for your Firebase service account.
            1. Select the Service accounts tab, and then click Generate new private key.
            2. Download the JSON file that contains the private key. Note the location of the downloaded file, because you need it later.
              The file name format for this private key is similar to Pc-api-1234567890123456789-123-firebase-adminsdk-a1bcd-a1234bc5678.json.
          5. Create your mobile connected app in App Manager.
          6. In the Mobile App Settings section of your mobile connected app, complete these fields.
            1. In the App Platform field, select Android.
            2. Select Push Messaging.
            3. In the Platform field, select Android.
            4. In the Firebase Admin SDK Private Key field, upload the JSON file that contains the private key that you generated for your Firebase service account.
            5. In the Project ID field, enter the project ID that you collected from the Firebase project.
          7. Save your changes.
          Note
          Note If you update the push messaging fields for an existing mobile connected app, and the app is distributed to other Salesforce orgs in a managed package, make sure to distribute the push messaging update to all orgs that use the app. To distribute the push messaging update, upload a new managed package version, and then install the new package in all orgs that use the app. See Installed Packages for more information.
           
          Loading
          Salesforce Help | Article