Link Google Play to Firebase (original) (raw)

Linking your Firebase Android App to a Google Play developer account enables the following:

If you linked to Google Play before September 14, 2021, all your existing app links have been automatically populated within both the App Distribution integration and the Google Analytics integration for Google Play.

Prerequisites

Make sure that your app meets the following requirements:

Note that your Google Play developer account can be linked to multiple Firebase Android Apps (even in separate Firebase projects), but each Firebase Android App can only be linked to a single Google Play developer account.

To see which Firebase projects and Firebase Android Apps are linked to your developer account, go to the Linked services section of your account in the Google Play Console.

Here's how to link a Firebase Android App to a Google Play developer account via the Firebase console:

  1. Sign in to Firebase, then select your project.
  2. Click the Settings icon, then select Project Settings.
  3. On the Project Settings page, click the Integrations tab.
  4. On the Google Play card, click Link.
    If you already have links to Google Play, click Manage instead.
  5. Follow the on-screen instructions to select which product integrations to enable and which Firebase Android Apps to link to Google Play.

You have three options for unlinking Google Play: unlinking Google Play entirely from all apps in your Firebase project, unlinking all apps for a specific product integration, or unlinking specific apps for a specific product integration.

The following will happen for an app that's unlinked:

Here's how to unlink from Google Play via the Firebase console:

  1. Sign in to Firebase, then select your project.
  2. Click the Settings icon, then select Project settings.
  3. On the Project Settings page, click the Integrations tab.
  4. On the Google Play card, click Manage.
  5. Unlink all apps or specific apps from Google Play:
    • Unlink all apps: At the bottom of the page, click Unlink
    • Unlink all apps for a specific product integration: Switch off the toggle for the specific product
    • Unlink specific app(s): Click open the specific product, then deselect the app(s) that you want to unlink
  6. Confirm that you want to unlink.

Required permissions and suggested roles

To view or manage links to Google Play, you must have the required level of access.

If you don't have the necessary Firebase access, you can ask a Firebase project Owner to assign you the applicable role via the Firebase console IAM settings. If you have questions about accessing your Firebase project, including finding or assigning an Owner, review the "Permissions and access to Firebase projects" FAQs.

Project-level

The following table applies to the top-level unlinking and viewing of a Firebase project's integrations with Google Play.

Action in Firebase console Required IAM permission IAM roles that include required permission by default Additional required roles
Unlink all Firebase Android Apps from Google Play firebase.playLinks.update Owner Firebase Admin none
View the existing links to Google Play firebase.playLinks.list Any basic role (Owner, Editor, or Viewer) Any Firebase-level role Any Firebase product-category role none

Google Analytics

The following table applies specifically to the Google Analytics integration with Google Play.

Action in Firebase console Required IAM permission IAM roles that include required permission by default Additional required roles
View the existing links to Google Play firebase.playLinks.list Any basic role (Owner, Editor, or Viewer) Any Firebase-level role Any Firebase product-category role none
Link a specific Firebase Android App with a Google Play developer account firebase.playLinks.update Owner Firebase Admin Google Analytics: Equivalent of Administrator or Editor for the linked Google Analytics property Google Play: account Admin
Unlink a specific Firebase Android App from a Google Play developer account firebase.playLinks.update Owner Firebase Admin Google Analytics: Equivalent of Administrator or Editor for the linked Google Analytics property Google Play: account Admin See note below

Note: To give you more control over your data flow, the access required to unlink is based on where you perform the action:

Firebase products

The following table applies to any of the Firebase products for which you can enable an integration with Google Play (for example, App Distribution or Crashlytics).

Action in Firebase console Required IAM permission IAM roles that include required permission by default Additional required roles
View the existing links to Google Play firebase.playLinks.list Any basic role (Owner, Editor, or Viewer) Any Firebase-level role Any Firebase product-category role none
Link a specific Firebase Android App with a Google Play developer account firebase.playLinks.update Owner Firebase Admin Google Play: account Admin
Unlink a specific Firebase Android App from a Google Play developer account firebase.playLinks.update Owner Firebase Admin Google Play: account Admin See note below

Note: To give you more control over your data flow, the access required to unlink is based on where you perform the action:

Was this helpful?

How can we improve it?