From 73158792d2e1e55db9f75cf1eba6f11c0645d862 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Sun, 6 Sep 2026 20:25:45 +0200 Subject: [PATCH] chore(mobile): commit google-services.json for EAS cloud builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was gitignored under the assumption it should be redownloaded per clone, but a cloud EAS build clones from git and won't see a gitignored file at all — the build would fail without it (app.json's android.googleServicesFile references this path). Its contents (API key, app/project IDs) aren't secret: Google restricts access by package name and SHA fingerprint, not by hiding the file, same as most public Firebase Android repos. --- mobile/.gitignore | 7 ++++--- mobile/google-services.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 mobile/google-services.json diff --git a/mobile/.gitignore b/mobile/.gitignore index 4701d6f..8c18a4f 100644 --- a/mobile/.gitignore +++ b/mobile/.gitignore @@ -37,9 +37,10 @@ yarn-error.* .env* !.env.example -# Firebase (FCM push credentials) — project-specific, redownload from -# Firebase Console (org.pawfeed.app app) on a fresh clone instead of committing -google-services.json +# google-services.json IS committed (see below) — EAS cloud builds clone +# from git and need it present; its contents (API key, app ID) aren't +# secret (Google restricts access by package name/SHA fingerprint, not by +# hiding this file — same practice as most public Firebase Android repos). # typescript *.tsbuildinfo diff --git a/mobile/google-services.json b/mobile/google-services.json new file mode 100644 index 0000000..fc29af2 --- /dev/null +++ b/mobile/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "1048292105810", + "project_id": "pawfeed-93394", + "storage_bucket": "pawfeed-93394.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:1048292105810:android:c590c99b9778698d02098b", + "android_client_info": { + "package_name": "org.pawfeed.app" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyA2O8eO1K0A5IYSSVdUq8QrG_fUAKqxidY" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file