Publish a Firebase Studio App to Google Play: The Google Stack Path

Publish a Firebase Studio app on Google Play: wrap the App Hosting web app or build the Flutter project, plus Play Integrity, Data safety and testing.

Short answer

Firebase Studio apps reach Google Play either as a wrapped web app served by Firebase App Hosting or as a Flutter project built into an Android App Bundle. Staying inside Google's stack helps: Android builds run in Linux workspaces, Firebase App Distribution and Play testing tracks cover pre-release testing, and App Check with Play Integrity protects your backend. Data safety answers must include every Firebase SDK you ship.

On this page
  1. Staying inside one ecosystem
  2. Path 1: wrapping the App Hosting web app
  3. Path 2: building the Flutter project
  4. Testing: App Distribution and Play tracks together
  5. Protect the backend with App Check and Play Integrity
  6. Data safety with Firebase SDKs
  7. Minimum functionality and push
  8. Release
  9. FAQ
  10. Tools from the jocapps ecosystem

Staying inside one ecosystem

Firebase Studio is Google's cloud development workspace with AI assistance. It typically leaves you with one of two things: a Next.js web app created by the prototyping agent and deployed on Firebase App Hosting, or a project from a workspace template such as Flutter. Behind both sit Firebase services such as Authentication, Firestore, Storage, Cloud Functions and Cloud Messaging.

For Google Play, this is a comfortable position. Android tooling runs on Linux, so builds do not depend on a Mac. Firebase's Android SDKs are mature. And Google's own testing and integrity services connect directly to Play.

Path 1: wrapping the App Hosting web app

If your product is the Next.js app, keep it as the single source of truth and package it for Android.

WebViewGold is an Android Studio template where you set the production URL, package name, icon and splash, enable native features such as push notifications, offline handling and file downloads, and build a signed App Bundle. It is a one-time purchase and the project belongs to you. Prefer a done-for-you setup? WeSetupYourWebViewApp delivers it with full source code in about 72 hours.

Before you build:

  • Move App Hosting to a custom domain; the app should never depend on a generated hosting address.
  • Check Firebase Authentication inside the wrapper. Email and password work. Google sign-in in an embedded web view is blocked by Google, so run it in a Custom Tab or replace it with a native sign-in handled by the wrapper.
  • Make sure Gemini calls happen server-side (Cloud Functions, Genkit flows or route handlers), never with a key in client code.
  • Add error and timeout handling for AI features. Android users on weak connections will hit both.

A Trusted Web Activity is an alternative for public, PWA-like apps if you can serve /.well-known/assetlinks.json from your domain, but for logged-in Firebase apps the wrapper offers more control.

Path 2: building the Flutter project

A Flutter project from Firebase Studio can be built for Android in the same Linux environment where it was written.

  1. Register the Android app in Firebase with your final package name, and add the SHA-1 and SHA-256 fingerprints of your debug key, your upload key and the Play App Signing key. Google sign-in and some Firebase features fail without the right fingerprints.
  2. Use the FlutterFire configuration to generate platform options rather than copying files by hand.
  3. Set applicationId, versionCode and targetSdk in the Gradle configuration. Google requires a recent target API level and raises it yearly.
  4. Build a release bundle with flutter build appbundle, signed with your upload key from a secure location.
  5. Test the release build on a real device; release builds shrink code and can break reflection-based libraries if rules are missing.

For ongoing Flutter development, apprat.io builds and maintains Android and iOS apps with AI-assisted development plus human developer hours.

Testing: App Distribution and Play tracks together

Two testing systems are available, and they complement each other.

Firebase App DistributionPlay Console testing tracks
SpeedBuilds available to testers quickly, no store processingInternal track is quick; closed and open tracks take longer
What testers installThe build you uploadedThe Play-delivered build, signed by Play
Best forDaily builds for the team and stakeholdersFinal verification, required closed tests, pre-launch report
Counts toward Play's new-account testing ruleNoYes (closed testing)

Use App Distribution during development and the Play tracks for release candidates. If you publish from a personal developer account created after November 2023, the closed test (currently 12 testers for 14 continuous days) must happen on Play. Organization accounts are exempt. See beta testing with TestFlight and Play Console internal testing.

Protect the backend with App Check and Play Integrity

Once your app is on Google Play, anyone can inspect it and call your Firebase backend directly. Firestore security rules are the first line of defence. App Check is the second: on Android it uses the Play Integrity API to attest that requests come from your genuine app on a genuine device.

Roll it out carefully. Enable App Check in monitoring mode, ship the app, confirm that real traffic is attested, then enforce. Enforcing too early locks out users with older app versions. Debug providers let you test on emulators during development.

Data safety with Firebase SDKs

Every Firebase SDK you include may collect data that belongs in the Play Console's Data safety form. Typical entries:

  • Authentication: email, name, user IDs.
  • Analytics: app interactions, device or other identifiers.
  • Crashlytics: crash logs and diagnostics.
  • Cloud Messaging: device tokens.
  • Firestore and Storage: whatever your users enter or upload.

Firebase documents what each SDK collects; use that as input, then add what your own code collects. If your app sends user text to Gemini, mention it in the privacy policy and consider removing personal data before it leaves the device or your server. Textwash Pro anonymizes text with local AI, offline or as a privacy layer in front of language models, which is especially relevant for European users.

Minimum functionality and push

Play limits apps that only mirror a website. Firebase gives you the tools to go beyond: Cloud Messaging for timely notifications triggered by Firestore changes, Storage-backed camera uploads, offline persistence in Flutter apps. If you wrapped the web app, the push and offline features in WebViewGold cover the device side. Our guide to push notifications for AI-built apps covers opt-in timing and token management, and scaling the backend of an AI-built app explains what changes when installs grow.

Release

Upload to internal testing, check the pre-launch report and Android vitals, complete listing, content rating, Data safety and account deletion details, then roll out in stages. appsubmitter.io can take care of listings, submission and rejection handling in your own Play Console.

FAQ

Can Firebase Studio build an Android App Bundle?

A Flutter or native Android project in a Firebase Studio workspace can be built into an App Bundle with the standard tooling. A Next.js web app needs a wrapper project to become an Android app.

Should I use Firebase App Distribution or Play internal testing?

Both. App Distribution suits frequent team builds; Play tracks test exactly what Play delivers and count toward Google's testing requirement for new personal accounts.

Why does Google sign-in fail in my Firebase Android app from Play?

The Play App Signing key fingerprint is probably missing from your Firebase project. Add it next to your debug and upload key fingerprints.

Is App Check required for Google Play?

No, but it reduces abuse of your Firebase backend by verifying requests with Play Integrity. Start in monitoring mode, then enforce.

Tools from the jocapps ecosystem

Want this done right, and fast?

Talk to our AI Code Engineers and AI architects. In a free 30-minute call we look at your idea, prototype or roadmap and tell you honestly what it takes to ship it.

24/7 call support in English and German.

Free call

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50