mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
Programmatically opt-out of sending telemetry data
Is it possible to opt-out of sending telemetry data 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 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.")
Hey @adeveloper-wq thanks for filing this issue!
To the maintainers of this repo: I also need this functionality, I know the data is "anonymized" but I have promised my users their data would not be shared. If I am a paying MapBox customer so I don't see why I'd be forced to enable telemetry. As @adeveloper-wq mentioned already, there is already this option in mapbox_gl and I'd rather use this module, as it's the official Mapbox module, so please help us out!
Up ⬆️. Same need but I am not seeing any method to disable telemetry
Anything new on this? I think it would be very helpful to have something like this especially when thinking about conforming to the GDPR.