Skip to content

Introduce Libre and Firebase build variants#290

Merged
gdlbo merged 5 commits into
developfrom
foss
Jun 2, 2026
Merged

Introduce Libre and Firebase build variants#290
gdlbo merged 5 commits into
developfrom
foss

Conversation

@gdlbo
Copy link
Copy Markdown
Member

@gdlbo gdlbo commented Jun 2, 2026

No description provided.

gdlbo added 5 commits May 5, 2026 12:44
…ay Services dependencies

- extract `FcmPushService` logic into `BaseFcmPushService` and move the Firebase-specific implementation to the `firebase` source set
- introduce `GmsRuntime` and `FcmRuntime` interfaces with `Firebase` and `NoOp`/`Libre` implementations to abstract Google Play Services at runtime
- replace `com.google.android.gms:play-services-location` with a custom `LocationManager` based `getCurrentLocationCompat` implementation for hardware-direct location access
- replace `com.google.mlkit:barcode-scanning` with a ZXing-based `ZxingQrAnalyzer` for QR code scanning, removing the ML Kit dependency
- update `data` and `app` modules to conditionally include Firebase and Play Services dependencies based on the selected `runtime` flavor
- modify `AndroidManifest.xml` to declare `FcmPushService` only in the `firebase` variant
- update `DistrManager` and `TdNotificationManager` to use the new runtime abstraction interfaces for GMS and FCM availability checks
- refine APK naming convention and build tasks to support new flavor combinations (e.g., `officialFirebaseRelease`, `telemtLibreDebug`)
@gdlbo gdlbo merged commit 8570978 into develop Jun 2, 2026
1 check passed
@gdlbo gdlbo deleted the foss branch June 2, 2026 14:59
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