Part of the FCM push epic #24. Operator dashboard work — the only part that can't be done from a build environment. Unblocks P1 live delivery + P2b build.
Steps (~15 min)
- Firebase console → Add project (or reuse an existing one) → add an Android app, package
in.artistant.app (plus the flavor-suffixed ids if dev/staging are split: .dev, .staging).
- Download
google-services.json → app/src/<flavor>/ per flavor (or app/ for a shared one). It is gitignored — distribute via a CI secret / out-of-band. → hands off to P2b.
- Project settings → Service accounts → generate a new private key (JSON) = the FCM v1 service account.
- Set Supabase Edge Function secrets on both projects (dev + prod):
FCM_SERVICE_ACCOUNT = the service-account JSON.
FCM_PROJECT_ID = the Firebase project id.
- Confirm
app_settings.edge_function_base_url is set (the push enable-switch; dev first) so the DB triggers actually POST to send-push.
Acceptance
Blocks
- P1 live delivery, P2b build, P4 verification.
Part of the FCM push epic #24. Operator dashboard work — the only part that can't be done from a build environment. Unblocks P1 live delivery + P2b build.
Steps (~15 min)
in.artistant.app(plus the flavor-suffixed ids if dev/staging are split:.dev,.staging).google-services.json→app/src/<flavor>/per flavor (orapp/for a shared one). It is gitignored — distribute via a CI secret / out-of-band. → hands off to P2b.FCM_SERVICE_ACCOUNT= the service-account JSON.FCM_PROJECT_ID= the Firebase project id.app_settings.edge_function_base_urlis set (the push enable-switch; dev first) so the DB triggers actually POST tosend-push.Acceptance
google-services.jsonavailable to the build / CI for each flavor.Blocks