Skip to content

chore(repo): commit Google Services config files, drop base64 decode steps - #8

Merged
lxup merged 1 commit into
mainfrom
chore/commit-google-services-files
Oct 25, 2026
Merged

lxup merged 1 commit into
mainfrom
chore/commit-google-services-files

Conversation

@lxup

@lxup lxup commented Oct 25, 2026

Copy link
Copy Markdown
Member

Description

Commits google-services.json and GoogleService-Info.plist directly to the repository instead of decoding them from base64 CI secrets on every build. These files contain no actual secret (Firebase/Google client identifiers and a restricted API key, not a private key), consistent with Google's own guidance that they are safe to commit.

Changes

  • Added apps/mobile/google-services.json and apps/mobile/GoogleService-Info.plist to the repository.
  • Removed the corresponding ignore patterns from apps/mobile/.gitignore.
  • Removed the now-unused eas-build-pre-install script from apps/mobile/package.json.
  • Removed the obsolete GOOGLE_SERVICES_JSON comment from apps/mobile/.env.template.
  • Removed the "Decode Google Services files" steps and the env vars that only fed eas-build-pre-install from every workflow that builds the mobile app: build-submit-android.yml, build-submit-android-eas.yml, build-submit-ios.yml, save-fingerprint.yml, seed-fingerprint.yml, mobile-router.yml (three occurrences).

Impact

  • No behavior change for end users.
  • CI builds no longer depend on INFISICAL_GOOGLE_SERVICES_ANDROID_BASE64/_IOS_BASE64 to produce a working build; those two Infisical secrets are now unused and can be removed from the Infisical project whenever convenient.
  • app.config.ts already falls back to the literal file paths when the optional GOOGLE_SERVICES_JSON/GOOGLE_SERVICE_INFO_PLIST override env vars are unset, so no code change was needed there.

Test Plan

  • Run a local EAS build (bunx nx build mobile --platform android --profile production --local) and confirm it picks up the committed google-services.json without needing any env var.
  • Run a local iOS build the same way and confirm it picks up the committed GoogleService-Info.plist.
  • Trigger save-fingerprint.yml / seed-fingerprint.yml manually and confirm they still compute a fingerprint successfully with no decode step.
  • Confirm mobile-router.yml's three build paths still succeed end to end.

…steps

google-services.json/GoogleService-Info.plist carry no actual secret
(Firebase/Google client identifiers and a restricted API key, not a
private key - Google's own guidance is that these are safe to commit).
Committing them directly removes the need to decode them from base64
CI secrets on every build.

Removes the now-unused eas-build-pre-install script and the matching
"Decode Google Services files" steps (plus the env vars that only fed
that script) from every workflow that built the mobile app:
build-submit-android(-eas).yml, build-submit-ios.yml,
save-fingerprint.yml, seed-fingerprint.yml, mobile-router.yml (x3).

INFISICAL_GOOGLE_SERVICES_ANDROID_BASE64/_IOS_BASE64 are now orphaned
on the Infisical side - safe to delete from the pave project whenever,
not done here (no access to that from this repo).
@lxup
lxup merged commit 30b7955 into main Oct 25, 2026
2 checks passed
@lxup
lxup deleted the chore/commit-google-services-files branch October 25, 2026 12:52
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