-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec_overrides.fdroid.yaml
More file actions
40 lines (40 loc) · 2.13 KB
/
Copy pathpubspec_overrides.fdroid.yaml
File metadata and controls
40 lines (40 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (c) 2026 Florian DITTGEN
# SPDX-License-Identifier: MIT
#
# Libre / F-Droid dependency overrides (epic #3473). Applied ONLY for the fdroid
# build by `dart run tool/apply_fdroid_overrides.dart`, which copies this file to
# `pubspec_overrides.yaml` (gitignored) before `flutter pub get`. Play + iOS
# builds never generate that file, so they keep the real, full-featured plugins.
#
# Each entry swaps a GMS/ML-Kit/Play-Core-pulling plugin for a FOSS or no-op
# drop-in, so the fdroid dex carries ZERO `com.google.android.*` references
# (which `fdroid scanner` / `check apk` rejects).
dependency_overrides:
# #3479 — no-op store review (upstream pulls Play Core `…play:review`).
in_app_review:
path: tool/fdroid_stubs/in_app_review
# #3478 — Dart-only passkeys Android impl (upstream pulls GMS FIDO/auth via
# supabase_flutter). Unused on libre; keeps supabase compiling GMS-free.
passkeys_android:
path: tool/fdroid_stubs/passkeys_android
# #3476 — vendored GMS-free geolocator_android: FusedLocationClient +
# GoogleApiAvailability removed, always uses Android's LocationManager (the
# app already forces this). Drops all com.google.android.gms.location refs.
geolocator_android:
path: third_party/geolocator_android
# #3477 — no-op mobile_scanner (upstream pulls com.google.mlkit.vision.barcode
# + gms). Libre QR scanning uses FOSS flutter_zxing (ZxingScannerView); the
# stub only keeps the Play/iOS mobile_scanner code compiling on libre.
mobile_scanner:
path: tool/fdroid_stubs/mobile_scanner
# #3492 — no-op sentry_flutter (opt-in crash reporter; F-Droid flags the SDK
# as a Tracking anti-feature). Libre ships no Sentry: init is gated off and
# the stub keeps app_initializer/pii_scrubber compiling with zero io.sentry.
sentry_flutter:
path: tool/fdroid_stubs/sentry_flutter
# #3490 — no-op ML Kit text-OCR (upstream pulls com.google.mlkit.vision.text
# + gms). Libre OCR is unavailable (NoopOcrTextEngine); Play/iOS keep it.
google_mlkit_text_recognition:
path: tool/fdroid_stubs/google_mlkit_text_recognition
google_mlkit_commons:
path: tool/fdroid_stubs/google_mlkit_commons