mapbox-maps-flutter icon indicating copy to clipboard operation
mapbox-maps-flutter copied to clipboard

Programmatically opt-out of sending telemetry data

Open adeveloper-wq opened this issue 2 years ago • 2 comments

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.")

adeveloper-wq avatar Feb 02 '23 17:02 adeveloper-wq

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!

tiyberius avatar Jul 20 '23 15:07 tiyberius

Up ⬆️. Same need but I am not seeing any method to disable telemetry

treacks5 avatar Aug 06 '24 12:08 treacks5

Anything new on this? I think it would be very helpful to have something like this especially when thinking about conforming to the GDPR.

Mojo1917 avatar Dec 10 '24 21:12 Mojo1917