Skip to content

[codex] Enforce Android Firebase release config#408

Merged
jjoonleo merged 1 commit into
mainfrom
codexd/android-firebase-release-config
May 7, 2026
Merged

[codex] Enforce Android Firebase release config#408
jjoonleo merged 1 commit into
mainfrom
codexd/android-firebase-release-config

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Require Android release builds to include a Firebase google-services.json config instead of silently skipping Google Services.
  • Add a manual Android release verification workflow that decodes ANDROID_GOOGLE_SERVICES_JSON_B64 and builds the release app bundle.
  • Document the Android release config secret and keep generated source-set Firebase config files ignored.

Why

Issue #386 identified that release builds could compile without the Android Firebase client config, leaving Firebase Core and FCM behavior dependent on local/CI filesystem state.

Validation

  • flutter analyze
  • flutter test
  • flutter build apk --debug without Android Firebase config
  • flutter build appbundle --release without Android Firebase config, confirmed it fails with the intended Gradle error

Notes

Release success and real-device FCM registration still require the approved production google-services.json / ANDROID_GOOGLE_SERVICES_JSON_B64 secret.

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 1f4e365):

https://ontime-c63f1--pr408-codexd-android-fireb-bre4mvb5.web.app

(expires Thu, 14 May 2026 14:14:17 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 1f4e365):

https://on-time-front-widgetbook--pr408-codexd-android-fireb-kx512qcd.web.app

(expires Thu, 14 May 2026 14:15:15 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

@jjoonleo jjoonleo marked this pull request as ready for review May 7, 2026 14:15
@jjoonleo jjoonleo merged commit 16f388b into main May 7, 2026
4 checks passed
@jjoonleo jjoonleo deleted the codexd/android-firebase-release-config branch May 7, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant