Open stolzda opened 2 years ago
Platform: Android Mapbox SDK version: 10.0.0
This is a crosspost of https://github.com/mapbox/mapbox-maps-android/issues/772 because I don't know which is the right repository to post this issue.
By default, telemetry seems to be enabled. We would like to integrate the settings into the app overall settings, and toggle the settings from there, which it seems it was possible, see:
mapbox/mapbox-gl-native#13304 mapbox/mapbox-gl-native-android#90 (comment)
These functions are not exposed anymore. With some digging I found the following:
val telemetry = mapView.getPlugin<AttributionPlugin>(Plugin.MAPBOX_ATTRIBUTION_PLUGIN_ID)!! .getMapAttributionDelegate().telemetry() telemetry.disableTelemetrySession() telemetry.setUserTelemetryRequestState(false)
Telemetry is disabled, MapboxTelemetryService is stopped.
MapboxTelemetryService keeps running, and neither seems the Telemetry to be disabled.
I have the same problem
Any updates on this?
Platform: Android Mapbox SDK version: 10.0.0
Note
This is a crosspost of https://github.com/mapbox/mapbox-maps-android/issues/772 because I don't know which is the right repository to post this issue.
Steps to trigger behavior
By default, telemetry seems to be enabled. We would like to integrate the settings into the app overall settings, and toggle the settings from there, which it seems it was possible, see:
mapbox/mapbox-gl-native#13304 mapbox/mapbox-gl-native-android#90 (comment)
These functions are not exposed anymore. With some digging I found the following:
Expected behavior
Telemetry is disabled, MapboxTelemetryService is stopped.
Actual behavior
MapboxTelemetryService keeps running, and neither seems the Telemetry to be disabled.