mapbox / mapbox/mapbox-maps-android
Telemetry settings dialog always implies user is opted in
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Android OS version: Any
- Devices affected: Any
- Maps SDK Version: 10.9.1
## Observed behavior and steps to reproduce
If you click disagree on the Telemetry settings so Telemetry is supposedly disabled, then go back into the screen the popup shows a message indicating that you are still opted in.
Mapbox Demo app from Play Store

## Expected behavior
If the user has clicked disagree, and re-enters the dialog it _shouldn't_ still show they are opted in and... 'are helping to make OpenStreetMap and Mapbox maps better by contributing anonymous usage data.'
## Notes
The lack of programmatic access to the Telemetry settings means developers cannot provide their own mechanism/dialog #772 disappointing coming from v9.
[Strings in Telemetry](https://github.com/mapbox/mapbox-maps-android/blob/9d4b590faca14c8626b58492dfb7e79a0d5bc336/plugin-attribution/src/main/res/values/strings.xml
) contains nothing to show for when its opted out.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with plugin-attribution/src/main/res/values/strings.xml and trace the telemetry settings dialog that displays those strings. Reproduce the disagree-then-reopen flow in the Mapbox Demo app, then verify that the reopened dialog no longer says the user is contributing anonymous usage data when opted out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100