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);`

Open
#942 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.