Skip to content
Winter Sale from $619, until 31st December 2026 Book now
From agentic coding tool to Google Play Android · Google Play Firebase Studio

Firebase Studio Prototype to Google Play: Export, Rebuild and Verify

Firebase Studio is winding down – no new workspaces since June 22, 2026, shutdown on March 22, 2027 – and its App Prototyping agent produced Next.js web apps, not Android apps. Export the code, keep your Firebase project, and choose between a Trusted Web Activity, a WebView shell or a Kotlin rebuild. Then fix the Firebase details that only break once Play signs your app, and work through Google's testing tracks.

7 min read

Key takeaways

  • Move the workspace to GitHub before the March 22, 2027 shutdown; your Firebase backend and deployed apps keep running.
  • Pick the Android route by what the prototype needs: a TWA for a solid PWA, a WebView shell for quick native features, Kotlin for a real native app.
  • Builds installed from Google Play are signed with Google's app signing key – register its fingerprints in Firebase or Google sign-in fails.
  • Firebase App Distribution is useful for early testers, but only a closed test on Google Play counts toward production access.

Export first: what to take with you

Firebase Studio has not accepted new workspaces since June 22, 2026, and on March 22, 2027 it shuts down, deleting whatever has not been moved. Google points users of the App Prototyping agent to Google AI Studio, developers who prefer a local tool to Google Antigravity, and everyone to export or download the code. Whatever you choose for daily work, put the code into a GitHub repository – it is the input every agent and CI service understands.

Before you close the workspace, collect what the code alone does not tell you:

  • the Firebase project ID and which Firebase products the app uses,
  • security rules and index definitions, if they only lived in the console,
  • the names of all environment variables and secrets, such as the Gemini API key,
  • the sign-in providers and authorised domains configured in Firebase Authentication,
  • the App Hosting backend and its URL, which you can keep, as Google's migration guide explains.

Google AI Studio can also generate native Android projects, a path our post on Google AI Studio to Android describes. This article assumes you want to own an Android project in your own repository, maintained with a coding agent.

Three Android routes for a Next.js prototype

RouteGood fitWhat to watch
Trusted Web ActivityThe web app already works as a PWA, with a manifest and service workerDigital Asset Links on your domain must match your signing key, or the browser bar appears
WebView shell in KotlinYou need push, uploads, a native offline screen or custom navigation quicklyGoogle sign-in must leave the WebView; the Webviews policy wants an app that is yours and adds value
Kotlin and Jetpack Compose rebuildOffline use, device features, a native feelMore work per screen; every change is a new build

For the rebuild, a coding agent – Gemini in Android Studio, Claude Code or Codex – reads the Next.js code as a specification: routes become screens, Firestore reads and writes become repository classes, server actions become calls to Cloud Functions or your App Hosting endpoints. Add the Firebase Android SDKs through the Firebase BoM so versions stay consistent, use Credential Manager for Google sign-in, and keep the existing security rules unchanged; web and Android share them. Gemini keys never go into the app. Call the model through your server or through a Firebase client SDK protected by App Check.

Talk to an AI Code Engineer about shipping your app to Google Play.

In a free call we look at what you built, tell you honestly what stands between it and an approved release – and whether you need us at all.

Firebase settings that break once Play signs your app

Many Firebase-backed Android apps work perfectly in development and fail the day they are installed from Google Play. The cause is almost always signing. With Play App Signing, Google re-signs your app with its own app signing key; your upload key only proves the upload came from you. Firebase features that check the app's certificate see Google's key.

SymptomCauseFix
Google sign-in works from Android Studio, fails from PlayOnly the debug or upload key fingerprint is registered in FirebaseAdd the SHA-1 and SHA-256 of the app signing key from Play Console to the Android app in Firebase, then download a fresh config
App Check rejects production usersPlay Integrity is not set up for the released appConfigure the Play Integrity provider and link the Play app; use the debug provider only in development and CI
Release build crashes, debug worksR8 removed classes that Firestore maps by reflectionKeep rules for your data classes; test the release bundle before upload
No push on Android 13 and laterNotification permission never requestedAsk for it at a meaningful moment in the app
Wrong Firebase app in productionA google-services.json for a different package name, for example a debug suffixOne registered Android app per package name, checked in CI

Put the first row into the agent's instruction file as a fact. Agents tend to compute fingerprints from the keystore they can see – which is never Google's key.

The testing ladder: from App Distribution to production

  1. Firebase App Distribution for the first rough builds to colleagues – fast and outside Play.
  2. Internal testing track on Google Play for the first signed App Bundle, so Play App Signing and the fingerprints above get tested early.
  3. Closed testing. New personal developer accounts need at least 12 testers opted in for 14 consecutive days before they can apply for production. App Distribution testers do not count. Our guide to the closed testing requirement explains the details.
  4. Pre-launch report on each upload – Google runs the build on real devices and reports crashes and accessibility issues.
  5. Production with a staged rollout after Google grants production access.

The agent's job on this ladder is turning tester reports into fixes and new builds. Each closed-track release shows Google that the test led somewhere.

Policy points for Firebase and Gemini apps

  • Target API level. New apps and updates must target API level 36 since August 31, 2026 – see the target API guide.
  • Data safety. Declare what Firebase Analytics, Crashlytics and Cloud Messaging collect, plus the text and images your AI features send to Gemini. Firebase documents what its SDKs collect; your app's own data flows are yours to describe.
  • AI-generated content. Google Play expects apps that generate content with AI to let users report or flag offensive output inside the app.
  • Account deletion. In-app deletion plus a web page where users can request it, linked in Play Console.
  • Payments. Paid AI credits or premium features are digital goods and use Google Play Billing.

If you would rather hand this part off, our AI Code Engineers run signing, CI/CD, testing tracks and the policy forms in your own account – see the Android submission service. The iOS side of the same move is covered in Firebase Studio app to the App Store.

Checklist: Firebase Studio prototype to Google Play

  • The workspace is in GitHub, with rules, indexes, provider settings and secret names documented.
  • You picked TWA, WebView shell or Kotlin rebuild deliberately.
  • The app signing key fingerprints from Play Console are registered in Firebase.
  • App Check uses Play Integrity in production; Gemini keys never ship in the app.
  • The release bundle targets API level 36 and was tested with R8 enabled.
  • Closed test on Google Play is running – App Distribution alone does not count.
  • Data safety, AI content reporting, account deletion and Play Billing are covered.

Frequently asked questions

Can Firebase Studio publish an Android app to Google Play?

Its App Prototyping agent generated Next.js web apps. To publish on Google Play you need an Android project – a TWA, a WebView shell or a native rebuild – signed and uploaded through your own Play Console.

Why does Google sign-in fail only in the Play version of my app?

Play App Signing re-signs your app with Google's key. Add that key's SHA-1 and SHA-256 fingerprints, shown in Play Console, to your Android app in Firebase and use the updated configuration.

Do testers in Firebase App Distribution count for the closed test?

No. The requirement for new personal accounts is a closed test on Google Play with at least 12 opted-in testers for 14 consecutive days.

Can you help us move and publish our prototype?

Yes. Book a free call and an AI Code Engineer looks at your export and Firebase project with you, recommends an Android route and can take over signing, testing tracks and the release in your own account.

Free, 15 minutes, no obligation

Get your app from agent output to approved release.

Our AI Code Engineers take apps built with Claude Code, Codex, Cursor, Lovable, Base44 and co. through signing, CI/CD, store listings and review – in your own developer accounts.

AI tools, store policies and requirements change quickly – always check the current documentation of the tools and stores you use. This article is independent advice and not affiliated with or endorsed by Apple, Google, Anthropic, OpenAI or any other company or product mentioned; all trademarks belong to their owners.

Ready to ship?

Talk to an AI Code Engineer – free, 15 minutes, in English or German.

Book a call for free

Chat and hotline are open 24/7. Answers from our senior AI Code Engineers (real humans) usually take closer to 72 hours than 1 hour.