mapbox / mapbox/mapbox-maps-flutter
Android platform, I visited `https://config.mapbox.com/events-config?access_token=pk.xxxxx` before I executed `MapboxOptions.setAccessToken(ACCESS_TOKEN);`
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
There is a privacy protocol pop-up in my application. I hope to initialize it after the user agrees. I did the same, but recently I received complaints to collect and pass information in advance. After catching the packet, I did find that when the first run, there was a POST request of `https://config.mapbox.com/events-config?access_token=pk.xxxxx` when I ran it for the first time, before any initialization was done.
I haven't found this problem in IOS at present
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 by reproducing the first-run Android behavior and inspect the request to config.mapbox.com/events-config before MapboxOptions.setAccessToken(ACCESS_TOKEN) is called. Trace the Android initialization path and verify that the request does not occur before the user's consent and initialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100