Short answer
Firebase Studio usually produces either a Next.js web app deployed with Firebase App Hosting or a Flutter project from a workspace template. The web app reaches the App Store in a native shell such as WebViewGold; the Flutter app is built for iOS on macOS. Either way, your Firebase services (Auth, Firestore, Cloud Messaging, App Check) need iOS-specific configuration before submission.
On this page
What Firebase Studio leaves you with
Firebase Studio is Google's browser-based, agent-assisted development workspace. Two outputs are common:
- A web app from the prototyping agent, typically Next.js with Gemini features, published to Firebase App Hosting.
- A project from a workspace template, for example Flutter, which can target iOS and Android from one codebase.
Both are usually backed by Firebase services. That is good news for the App Store, because Firebase has mature iOS support. It also means each service needs a quick iOS review. The table maps what you have to what you must check.
| Firebase piece | What it means for the iOS app |
|---|---|
| Firebase Authentication | Google sign-in cannot run in an embedded web view; Sign in with Apple likely required if you offer social logins |
| Cloud Firestore | Security rules must hold up against a determined user; App Review accounts need realistic data |
| Cloud Storage | Upload flows need camera and photo permissions with clear purpose strings |
| Cloud Messaging (FCM) | Push to iOS goes through APNs; upload an APNs key to your Firebase project |
| App Check | On iOS, App Attest or DeviceCheck attestation; configure before enforcing |
| Gemini via Genkit or Vertex AI | Server-side calls, content safety, age rating answers |
| App Hosting | Stable production URL for the shell |
Route A: the App Hosting web app
Prepare the web app
The prototyping agent optimises for a quick demo. Before it becomes an iOS app, make sure:
- The production rollout on App Hosting runs on a custom domain, so you can change hosting later without a new build.
- Server-side secrets (Gemini API keys, service accounts) stay on the server. If any key landed in client code, move it.
- Every screen works at phone width and with touch.
- There is an error state when an AI call fails or takes too long; on a phone, a spinner that never ends is a rejection waiting to happen.
Wrap it
WebViewGold provides an Xcode template: enter the App Hosting URL, set name, icon, launch screen and bundle ID, then enable native features like push notifications, offline handling and native sharing. You sign with your Apple developer account and keep the project after a one-time purchase. WeSetupYourWebViewApp can do this configuration for you, with full source code, in about 72 hours.
Fix Firebase Authentication for the shell
Firebase's web SDK supports popup and redirect sign-in. Inside an embedded iOS web view, Google's OAuth endpoint refuses the request, so the Google button fails. Practical options:
- Offer email and password or email link sign-in inside the app.
- Run Google sign-in through the system browser and pass the session back to the app.
- Add Sign in with Apple, which Firebase Authentication supports, if you offer any third-party social login.
Also confirm that the Firebase auth state persists after the app is closed, and add account deletion: Firebase can delete the auth user, and a Cloud Function can clean up the user's Firestore documents and storage files. Apple requires in-app deletion for apps with sign-up.
Route B: the Flutter project
A Flutter project from Firebase Studio already targets iOS, but the iOS build cannot be produced in a Linux workspace. You need macOS with Xcode, locally or in CI.
- Pull the code to a Mac or a macOS runner. Run
flutter build iosand fix any CocoaPods or minimum iOS version issues the Firebase plugins raise. - Add the iOS Firebase configuration. Register an iOS app in your Firebase project with the bundle ID and add the generated configuration file to the Runner target. The FlutterFire tooling can generate the Dart options for you.
- Enable capabilities in Xcode. Push notifications and background modes for FCM, Sign in with Apple if used, associated domains for deep links.
- Write permission purpose strings in
Info.plistfor camera, photos, location or microphone, as specific as possible. - Archive, upload, TestFlight. Test release builds on a real device; Firebase misconfiguration often only shows up there.
For Flutter apps that need continued development and maintenance, apprat.io builds and maintains iOS and Android apps with AI-assisted development plus human developer hours. See also agentic coding tools for mobile app development.
Push notifications with FCM on iOS
Whichever route you took, iOS push goes through Apple's service. In Firebase, upload an APNs authentication key from your Apple developer account, then request notification permission in the app at a sensible moment (after the user understands the value, not at first launch). Send notifications from Cloud Functions on Firestore events. Our guide on push notifications for AI-built apps covers token handling and opt-in timing. In a wrapped web app, WebViewGold provides the device side of push; check which push providers it supports and connect your Firebase setup accordingly.
Review risks for Gemini-powered apps
Many Firebase Studio apps include generative AI features. Apple reviews these with care:
- Content safety. Generated text or images can be offensive. Use Gemini's safety settings, filter outputs and give users a way to report problems.
- Age rating. Answer the questionnaire honestly about what the model can produce.
- Thin AI wrappers. An app that is only a chat box on top of an API, inside a web view, is at risk under Guideline 4.2. Combine the AI feature with your own data, workflow and native capabilities.
Read Guideline 4.2 for web-based apps before submission.
Submit
Create the App Store Connect record, complete privacy labels (Firebase Analytics, Crashlytics and Auth all collect data you must declare), add screenshots and a demo account, and submit. appsubmitter.io handles listings, submission and rejections in your own account, and can set up CI/CD for repeat releases.
FAQ
Can Firebase Studio publish to the App Store directly?
No. Firebase Studio builds and hosts apps; App Store distribution needs an iOS build signed with your Apple developer account and submitted through App Store Connect.
Do Firebase services work in a wrapped iOS app?
Yes, through the web SDK inside the app. Plan for the Google sign-in limitation in embedded views and add native push via APNs and FCM.
Is Flutter or a web wrapper better for a Firebase Studio app?
If you already have a working Flutter project, build it for iOS. If you have a Next.js web app, wrap it and add native features; rewriting in Flutter only pays off for device-heavy or offline-first products.
Do I need App Check for the App Store?
Apple does not require it, but it protects your Firebase backend from abuse by clients that are not your app. Configure it in monitoring mode first, then enforce.