> For the complete documentation index, see [llms.txt](https://manual.bubble.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.bubble.io/help-guides/publishing-your-app/native-mobile-app/google-play-store.md).

# Google Play Store

To publish an app built with Bubble for native mobile apps on the Google Play Store, you need a Google Play Console developer account, an app in Google Play Console, and a Google Cloud project. Bubble then builds your app and, once everything is set up, delivers each new build to Google Play for you.

You connect your Bubble app to Google Play in the Bubble editor, and do the rest of the setup in Google's tools.

{% hint style="info" %}
Bubble supports publishing to the Google Play Store only. Other Android app stores aren't supported.
{% endhint %}

## Before you start

### Create a Google Play Console developer account

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FATzouBVnUeXV8MQc6zh9%2Fplay-store-create-account-bubble%402x.png?alt=media&amp;token=87b60bde-9c11-4231-820c-6b8032a1004b" alt=""><figcaption></figcaption></figure>

To publish an Android app, you need a [Google Play Console](https://play.google.com/console) developer account.

{% hint style="warning" %}
**Registration fee:** Google charges a one-time registration fee for a developer account. The fee is set and managed by Google, independent of Bubble. See the [Google Play Console Help](https://support.google.com/googleplay/android-developer/answer/6112435) for current pricing.
{% endhint %}

### Google Play Console and Google Cloud Console

You'll use two of Google's tools during setup:

<table><thead><tr><th width="213.9453125">Tool</th><th>What it's for</th></tr></thead><tbody><tr><td><a href="https://play.google.com/console">Google Play Console</a></td><td>Publishing and managing your app on the Google Play Store: creating your app listing, uploading builds, managing releases and testing, setting pricing and distribution, and viewing crash reports and analytics.</td></tr><tr><td><a href="https://console.cloud.google.com/">Google Cloud Console</a></td><td>Managing the Google services your app uses: creating the service account and JSON key that let Bubble upload your builds, turning on APIs, and managing API keys and billing for services like Google Maps.</td></tr></tbody></table>

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FOP2UkjFymBXAnMkq9LWU%2Fgoogle-play-console%402x.png?alt=media&amp;token=3cf17371-a8b8-4247-b015-a93992fcb9e8" alt=""><figcaption><p>Google Play Console is for publishing and managing your app on the Google Play Store.</p></figcaption></figure>

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FCwqUiUX7PTXR6S5GmuvQ%2Fgoogle-cloud-console-welcome-bubble%402x.png?alt=media&amp;token=b6444c56-4454-4691-a251-5ae8a715e907" alt=""><figcaption><p>Google Cloud Console is for managing the Google services your app uses.</p></figcaption></figure>

In short, Google Play Console is where you publish and manage your app, and Google Cloud Console is where you set up the access and services it needs. It can help to have both open in separate browser tabs while you set up your app.

Here's where each setup task happens:

| Task                                                      | Where                                    |
| --------------------------------------------------------- | ---------------------------------------- |
| Create your app listing                                   | Google Play Console                      |
| Create a project, service account, and JSON key           | Google Cloud Console                     |
| Give Bubble access to upload builds                       | Google Play Console                      |
| Turn on the Google Play Android Developer API             | Google Cloud Console                     |
| Add your package name, JSON key, and code signing details | Bubble editor                            |
| Set up push notifications                                 | Firebase Console, then the Bubble editor |
| Add screenshots, a description, and a privacy policy      | Google Play Console                      |

{% hint style="info" %}
**Terminology:** This article uses terms that are specific to publishing on the Google Play Store. See the article below for a full terminology table.

Article: Native mobile app terminology
{% endhint %}

## Connecting your app to the Google Play Store

You connect your Bubble app to Google Play in the **Settings** tab, under **Native mobile**, in the **Android play store** section.

{% stepper %}
{% step %}

#### Create your app in Google Play Console

Create the app listing your builds will be uploaded to. See Creating your app in Google Play Console below.
{% endstep %}

{% step %}

#### Create a JSON key in Google Cloud

The JSON key lets Bubble upload your builds to Google Play on your behalf. You create it from a service account in a Google Cloud project, and then give that service account access to your Google Play Console account. See Creating a JSON key below.
{% endstep %}

{% step %}

#### Open the Android play store settings

In Bubble, go to the **Settings** tab, and under **Native mobile**, open the **Android play store** section.
{% endstep %}

{% step %}

#### Fill in your app details

Enter your app's details:

| Field         | What to enter                                                                                                                                                                                                              |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Package name  | A unique ID for your app, like `com.yourcompany.yourappname`. It's the Android equivalent of the iOS Bundle ID, so it's a good idea to use the same value for both. It can contain letters, numbers, and underscores (\_). |
| JSON key      | The JSON key file you created in Google Cloud.                                                                                                                                                                             |
| Code signing  | Bubble creates the keystore that signs your app for you. If you'd rather use your own, upload it and enter its alias and password. See Generating a keystore manually.                                                     |
| {% endstep %} |                                                                                                                                                                                                                            |

{% step %}

#### Set up the remaining options

If your app uses push notifications, set up Firebase Cloud Messaging. See Push notifications.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
**Privacy policy:** If your app requests or collects any kind of user data, for example camera access, Google requires a link to a privacy policy at a public URL. Apps without one can be rejected, so it's a good idea to prepare your privacy policy and add it while you set up your app in Google Play Console.
{% endhint %}

### Creating your app in Google Play Console

{% stepper %}
{% step %}

#### Start a new app

In Google Play Console, click **Create app**.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2Fge4WsSja6yETHQh22sNS%2Fcreate-android-app.png?alt=media&amp;token=fda10050-788e-44b1-a7cc-515c2d6f9e31" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Fill in the app details

Enter your app's name and the other details Google asks for. You can change this information later.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FUqAB4MKMIaCvqJMhCGlK%2Fapp-details.png?alt=media&amp;token=ea88f816-05bf-4ecc-b672-bbd5ddc9041b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Finish creating the app

Follow the remaining prompts. When you're done, you're taken to your app's dashboard, where you'll manage your builds, store listing, pricing, and visibility.
{% endstep %}
{% endstepper %}

### Creating a JSON key

A JSON key is a secure credential that lets Bubble work with your Google Play Console account on your behalf. Specifically, it lets Bubble upload your Android builds directly to Google Play, without you uploading each file by hand. The key comes from a service account in a Google Cloud project.

{% hint style="warning" icon="lock" %}
Treat your JSON key like a password, and store it in a secure place.
{% endhint %}

#### Create a Google Cloud project

In Google Cloud Console, create a new project for your app. It's a good idea to create one project per app, so that API keys, billing, and permissions stay organized.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FuI9drCG40RxgpEAu8kk7%2Fcreate-project-android.png?alt=media&amp;token=57887219-c69a-4586-9340-eb078314818d" alt=""><figcaption></figcaption></figure>

If you've used a Google API before, for example Google Maps, you may already have a project, but a dedicated project for your mobile app is usually easier to manage.

<details>

<summary>Creating a project with a personal or organization account</summary>

When you create a project, you may see an error like this:

*You do not have the required resourcemanager.projects.create permission to create projects in this location.*

This usually means you're signed in with a Google Workspace or company-managed account, and you don't have permission to create projects in your organization.

| Account type                             | What to expect                                                                                                                              |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Personal Google account                  | You can usually create projects without any issues. You'll see *No organization* as the location, which is fine.                            |
| Google Workspace or organization account | Project creation may be limited by an administrator. Ask an admin to create the project for you, or to give you the *Project Creator* role. |

</details>

#### Create a service account and JSON key

{% stepper %}
{% step %}

#### Open service accounts

In Google Cloud Console, go to **IAM & Admin** and select **Service Accounts**.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FA9eWGFZUOY5gS4AVU6dC%2Fservice-accounts.png?alt=media&amp;token=0d2679bb-e85d-4149-8739-fb7a9a9e7595" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Check that you're in the right project

Make sure you're in your app's Google Cloud project. If you're not, use the project picker in the top bar to switch.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FuzvLXTIKRxeZGapsaiDd%2Fselect-project.png?alt=media&amp;token=fb1b31d2-bd8e-40b0-8590-ce259259055d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Create the service account

Create a new service account and give it a name, like *bubble-deploy-access*.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FtNdT1qvy1o7ecJIO3q4D%2Fcreate-service-account.png?alt=media&amp;token=645e86dc-0940-42f8-94d7-e30d3b6faa39" alt=""><figcaption></figcaption></figure>

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FlgvOGEtAi3szEvV4vvQe%2Fname-service-account.png?alt=media&amp;token=da97a5f6-de7c-4295-b78c-edc1610052d2" alt=""><figcaption></figcaption></figure>

When it's created, copy the service account's email address. You'll need it in a later step.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FACWgRhaTk1n43aywCTfa%2Fservice-account-email.png?alt=media&amp;token=7de89057-3fd6-4401-8a7c-0c4be74ab696" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Generate a JSON key

Click Add key to generate a new JSON key.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2Fq6NGVgLUM95ytMqo6sDl%2Fadd-key.png?alt=media&amp;token=b9c1c498-ef27-49cf-84d2-db66e85de83c" alt=""><figcaption></figcaption></figure>

Select JSON as the key type.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2F8vSqMj3tfaArAYLNZByg%2Fjson-key-type.png?alt=media&amp;token=31f5bc1b-f917-4534-8366-0a5cc0b01198" alt=""><figcaption></figcaption></figure>

Then, download the file. This is the file you'll add to Bubble.
{% endstep %}
{% endstepper %}

#### Give the service account access to Google Play Console

{% stepper %}
{% step %}

#### Open users and permissions

In [Google Play Console](https://play.google.com/console), go to **Users and permissions**.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FemhnL0rQG6bmFUf5ji5Y%2Fusers-permissions.png?alt=media&amp;token=be5ba83f-6eb2-4dc1-a9a4-801aedf41814" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Invite the service account

Click **Invite new user**, and paste the service account's email address into the *Email address* field.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FTa2Lm49m5qqiIDYDSxbS%2Finvite-user.png?alt=media&amp;token=27a1286c-8701-44f4-b3f9-1a5da7ecacc0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Set permissions

Open **Account permissions** and choose the permissions for the account. To make publishing smoother, we recommend *Admin (all permissions)*, so that Bubble can send your builds straight to Google Play. Then click **Invite user**.
{% endstep %}
{% endstepper %}

#### Turn on the Google Play Android Developer API

For Bubble to upload your builds automatically, the Google Play Android Developer API needs to be turned on. In Google Cloud Console, open your app's project, go to **Enabled APIs & services**, and make sure **Google Play Android Developer API** is turned on.

### Generating a keystore manually (optional)

A keystore is a file that holds the key used to sign your app. The signature proves that each new version of your app comes from you and hasn't been changed. Bubble creates a keystore for you, so you only need this section if you have a specific reason to manage it yourself, or an existing keystore you want to reuse.

{% hint style="warning" %}
Your keystore is essential for future updates. If you lose it, you can't publish updates to your app on the Google Play Store. Store it somewhere secure, and keep a backup.
{% endhint %}

Creating a keystore uses your computer's command line: Terminal on macOS, or Command Prompt on Windows.

{% stepper %}
{% step %}

#### Install Java

You need Java installed on your computer to create a keystore. On macOS, you can install it with [Homebrew](https://formulae.brew.sh/formula/openjdk).
{% endstep %}

{% step %}

#### Open your command line

* **macOS:** Open Terminal, which you'll find in **Applications** > **Utilities**.
* **Windows:** Open Command Prompt by searching for *cmd*.
  {% endstep %}

{% step %}

#### Run the command

Paste this command, and replace `KEY_ALIAS` with a name you'll remember, like `appname_keys`:

{% code overflow="wrap" %}

```
keytool -genkeypair -v -keyalg RSA -keysize 4096 -validity 10000 -keystore KEYSTORE_OUTPUT_FILE.keystore -alias KEY_ALIAS
```

{% endcode %}

Use the arrow keys to move the cursor, since the mouse doesn't work in the command line. Press Enter when you're ready.
{% endstep %}

{% step %}

#### Answer the prompts

Enter a password for your keystore. You won't see the characters as you type, which is normal. Then answer the questions about your name and organization, pressing Enter after each one. Write down your password, since you'll need it in Bubble.
{% endstep %}

{% step %}

#### Finish up

If you see a warning about migrating to a different keystore format, follow the instructions on screen. Your keystore is saved to your computer, usually in your user folder.
{% endstep %}

{% step %}

#### Add the keystore to Bubble

In the **Android play store** section, upload the keystore file, and enter its alias (what you replaced `KEY_ALIAS` with) and its password.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
To move the keystore to another folder, like *Documents*, run `mv KEYSTORE_OUTPUT_FILE.keystore Documents`, using your file's actual name.
{% endhint %}

## Deploying

In Bubble, deploying your mobile app means generating a *build*: the packaged version of your app. For Android, this is an Android App Bundle (`.aab`) file.

Your first deployment works a little differently from later ones, because Google requires the first build to be uploaded by hand:

{% stepper %}
{% step %}

#### Deploy your app

In the Bubble editor, click **Deploy**. Your first deployment is expected to fail. This is how Bubble generates your first Android App Bundle.
{% endstep %}

{% step %}

#### Download the build

You'll get an email shortly after you deploy, with a link to download the `.aab` file.
{% endstep %}

{% step %}

#### Upload it to Google Play Console

In Google Play Console, open your app, and upload the `.aab` file in a new release, for example under **Testing** or **Production**.
{% endstep %}
{% endstepper %}

After the first manual upload, Bubble uploads future builds to Google Play automatically, as long as the Google Play Android Developer API is turned on.

{% hint style="info" %}
If your app uses services like Google Maps, push notifications, or in-app purchases, make sure they're fully set up in both Bubble and Firebase before you deploy.
{% endhint %}

## Testing

Before you go live, test your app on different devices and in different situations. Google Play Console offers several testing tracks:

| Testing track    | Who can test                                                                                           |
| ---------------- | ------------------------------------------------------------------------------------------------------ |
| Internal testing | Your team, for quick testing with up to 100 testers                                                    |
| Closed testing   | Specific people you invite, outside your team                                                          |
| Open testing     | Anyone, through a public link. You need to fill in your store listing before you can use open testing. |

To test, create a release in the **Testing** section of Google Play Console, upload your build, and invite testers by email or with an opt-in link. Check that your app's main features work, and that it performs well on different Android devices.

## Review

When your app has been tested, you can prepare it for Google's review. This includes your store listing:

| Store listing item             | What it is                                    |
| ------------------------------ | --------------------------------------------- |
| App name and short description | What users see first in the Google Play Store |
| Full description               | A longer description of your app              |
| App category                   | Where your app appears in the store           |
| Screenshots and graphics       | Images that show your app                     |
| Privacy policy URL             | A link to your app's privacy policy           |

You'll also need to fill in forms about your app's content rating, target audience, and data safety.

Take your time here, and check that everything is accurate and follows Google's Developer Program Policies. Incorrect or incomplete information, especially about user data and permissions, can lead to delays or rejection. Reviews usually take a few business days, and can take longer for new developer accounts.

## Publishing

When your app is approved, you can publish it from the **Production** section of Google Play Console. You can choose how to roll it out:

| Rollout option | How it works                                                                                                            |
| -------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Full rollout   | Your app becomes available to all users right away.                                                                     |
| Staged rollout | Your app is released to a small percentage of users first, so you can watch for issues before releasing it to everyone. |

Once it's live, your app appears in the Google Play Store. From then on, keep an eye on user reviews, crash reports, and usage data in Google Play Console.

## Updates

After your app is live, you'll likely want to update it, whether to fix bugs, improve performance, or add features. There are two ways to update your app:

| Update type               | Best for                                                             | How it works                                                                                            |
| ------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| OTA (over-the-air) update | Small changes, like bug fixes, text changes, and minor design tweaks | Bubble sends the update straight to your users, without a new review.                                   |
| New build                 | New features, bigger changes, and anything Google needs to review    | Bubble creates a new build and uploads it to Google Play. You then release it from Google Play Console. |

To publish a new build:

{% stepper %}
{% step %}

#### Make your changes

Make your changes in Bubble, and test them.
{% endstep %}

{% step %}

#### Deploy a new build

Deploy your app and choose a release type for the new version. Bubble uploads the build to Google Play.
{% endstep %}

{% step %}

#### Release it in Google Play Console

Create a new release with the build, and write release notes that sum up what's new or improved.
{% endstep %}
{% endstepper %}

Even for small changes, it's a good idea to test a new version before you release it. For bigger updates, consider a staged rollout.

## Push notifications

{% hint style="warning" icon="lock" %}
The files in this section give access to your Firebase services. Treat them as sensitive credentials, and store them securely, as you would passwords or API keys.
{% endhint %}

Bubble sends push notifications to Android devices through Firebase Cloud Messaging (FCM). To set it up, you need two files from Firebase: a `google-services.json` file, and a Firebase service account key.

### Get your google-services.json file

{% stepper %}
{% step %}

#### Create a Firebase project

In the [Firebase Console](https://console.firebase.google.com/), create a new project.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2F9kZ9kLNctJa70BwfNDP6%2Ffirebase-create.png?alt=media&amp;token=8a2ca1da-b0ad-41f2-9d75-3f51b574deb8" alt=""><figcaption></figcaption></figure>

&#x20;Give the project a name.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2Fhb11BhuIAbwNOa044d9B%2Fname-firebase-project.png?alt=media&amp;token=96eaf13c-ae5b-4c1a-a440-adac315ccf2f" alt=""><figcaption></figcaption></figure>

Google Analytics is optional, and not needed for push notifications.
{% endstep %}

{% step %}

#### Add your Android app

In the project overview, click the Android icon to add an app.&#x20;

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FoXymI9gLXPJjA3fPMDdE%2Fadd-app.png?alt=media&amp;token=b9882275-354b-44f1-a898-6b32d9f6e023" alt=""><figcaption></figcaption></figure>

Enter your app's package name, which needs to match the package name in Bubble.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FokGrh4VUlHRRIE0CvVUN%2Fpackage-name.png?alt=media&amp;token=7ae4349e-e200-420d-9c02-cec4d5428e0a" alt=""><figcaption></figcaption></figure>

The app nickname and debug signing certificate are optional.
{% endstep %}

{% step %}

#### Download the file

Click **Register app**, then download the `google-services.json` file and store it securely.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FhbqS1tE4lgvykAiEWHsG%2Fdownload-google-services-json.png?alt=media&amp;token=a164f2cc-e511-4a4c-9d5c-3141c64212de" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Get your Firebase service account key

{% stepper %}
{% step %}

#### Open the service accounts

In the Firebase Console, go to **Project settings** and open the **Service accounts** tab.

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2F1FwswP3FW84cOp9hyS7v%2Fcontinue-to-console.png?alt=media&amp;token=33d69158-16f2-4512-82db-acc6e9ea2f74" alt=""><figcaption></figcaption></figure>

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FPCn9ibtJvHXFIFhFB27e%2Fservice-accounts.png?alt=media&amp;token=269e7f0c-a4d6-4078-bf39-ec1f338beb10" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Generate a key

Click **Generate new private key** and confirm.&#x20;

<figure><img src="https://34394582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5sbzwG7CljeZdkntrL%2Fuploads%2FTRQjvZaqCyCxaBOIkLyN%2Fgenerate-new-private-json-key.png?alt=media&amp;token=3cc3b0e6-7756-4cd0-bd9c-27f05d5ff88d" alt=""><figcaption></figcaption></figure>

Download the `.json` key file and store it securely.
{% endstep %}
{% endstepper %}

### Add the files to Bubble

{% stepper %}
{% step %}

#### Open the push notification settings

Go to the **Settings** tab, and under **Native mobile**, open the **Android play store** section.
{% endstep %}

{% step %}

#### Upload the files

In the Firebase Cloud Messaging settings, upload your `google-services.json` file and your Firebase service account key.
{% endstep %}
{% endstepper %}

To publish your app on iOS too, see [iOS App Store](/help-guides/publishing-your-app/native-mobile-app/ios-app-store.md).
