Skip to content

Remove Firebase Analytics and Crashlytics for GMS-free distribution#21

Merged
chamika merged 2 commits into
mainfrom
remove-google-play-services
May 17, 2026
Merged

Remove Firebase Analytics and Crashlytics for GMS-free distribution#21
chamika merged 2 commits into
mainfrom
remove-google-play-services

Conversation

@chamika
Copy link
Copy Markdown
Owner

@chamika chamika commented May 16, 2026

Summary

  • Removes Firebase Analytics + Crashlytics plugins, BOM, and all library dependencies — the only Google Play Services coupling in the app
  • Deletes google-services.json (contained a live API key — please rotate AIzaSyDDhKYpfNrqaHFXJp2VxSngZSRDCplI4RM in Firebase console)
  • Stubs FirebaseUtils to Logcat so all 40 existing call sites compile unchanged with no churn
  • Simplifies DashTuneApplication — Firebase init block removed
  • Updates tests: deletes FirebaseUtilsTest.kt, removes FirebaseCrashlytics mock setup from SignInViewModelTest

Test plan

  • ./gradlew clean :automotive:assembleDebug — BUILD SUCCESSFUL (44 tasks)
  • ./gradlew :automotive:testDebugUnitTest — BUILD SUCCESSFUL (all tests pass)
  • Dependency scan: debugRuntimeClasspath contains zero firebase / play-services / gms artifacts
  • Smoke test on AAOS emulator: sign in, browse, play music + audiobook, verify FirebaseUtils.safeRecordException writes to Logcat on error path

Note: Rotate/disable the Firebase API key and consider archiving the dashtune-4fc67 Firebase project if it is no longer needed.

🤖 Generated with Claude Code

chamika and others added 2 commits May 17, 2026 00:44
…ribution

Strips all Firebase/Google Play Services dependencies so the APK can be
published to alternative stores (e.g. Aurora Store, OEM stores) that do
not ship GMS. FirebaseUtils is retained as a Logcat-only stub so all 40
call sites compile unchanged without churn; google-services.json deleted.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Remove Firebase/Google Play Services for alternative app store distribution

Full release notes:

- Remove Firebase Analytics and Crashlytics dependencies
- App no longer requires Google Play Services to run
- Available for distribution on GMS-free app stores (e.g. Aurora Store, OEM stores)
@chamika chamika merged commit 669555b into main May 17, 2026
1 check passed
@chamika chamika deleted the remove-google-play-services branch May 17, 2026 10:51
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