mapbox / mapbox/mapbox-maps-flutter
Programmatically opt-out of sending telemetry data
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dart
- Stelle
- 380
- Fork
- 204
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Is it possible to opt-out of sending [telemetry data](https://www.mapbox.com/telemetry) via code, e.g. to include this setting in the app settings? Currently the only way I'm finding is via the attribution button.
If it is not currently possible, are you planning to provide that option? When reading about telemetry on the Mapbox-Website it is being stated often that this should also be possible via settings in the app aside from the attribution button?
The Mapbox community Flutter plugin (originally the official [predecessor](https://github.com/mapbox/flutter-mapbox-gl) of this plugin) has this option: https://pub.dev/documentation/mapbox_gl/latest/mapbox_gl/MapboxMapController/setTelemetryEnabled.html
It also looks like both the native SDKs support the option to opt-out programmatically:
- Android: https://docs.mapbox.com/android/maps/api/10.10.1/mapbox-maps-android/com.mapbox.maps.module/-map-telemetry/set-user-telemetry-request-state.html
- iOS: https://docs.mapbox.com/help/getting-started/attribution/#mapbox-maps-sdk-for-ios ("Integrate the setting directly into your app. Hook a UISwitch control up to the MGLMapboxMetricsEnabled standard user defaults key, which should be true by default. Then set MGLMapboxMetricsEnabledSettingShownInApp to YES in your app’s Info.plist file.")
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Start by comparing the Flutter plugin's controller API with the linked community plugin's setTelemetryEnabled method and the native Android and iOS telemetry controls. Confirm how each native SDK exposes the setting and define done as allowing the app to opt out programmatically on both platforms.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart, flutter
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100