Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 4, 2026

microG uses Mapbox as a Google Maps replacement. TrackerControl currently categorizes api.mapbox.com as "Uncategorised", breaking map functionality in apps unless users manually whitelist it per-app.

Changes

  • Add "necessary": true flag to Mapbox entry in xray-blacklist.json
  • Mapbox domains now categorized as "Content" (displayed as "Essential" in UI)

Technical Context

The tracker loader treats entries with "necessary": true as essential services:

// TrackerList.java, line 362
String category = necessary ? "Content" : UNCATEGORISED;

Subdomain matching automatically covers api.mapbox.com when mapbox.com is registered, so no additional domain entries needed.

Original prompt

This section details on the original issue you should resolve

<issue_title>Move api.mapbox.com into separate category for all apps</issue_title>
<issue_description>Thanks for this great app.

https://microg.org/ uses Mapbox as Google Maps replacement, so if you use microg, Mapbox is essential for a lot of different apps. This breaks most of the apps showing any kind of map. If I allow api.mapbox.com manually in all the apps, they work again.

For reference #160 , but on my phone with TrackerControl 2022.10.25-fdroid api.mapbox.com is in Uncategorized category.</issue_description>

Comments on the Issue (you are @copilot in this section)

@kasnder Good idea. Will look into this.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: kasnder <5175206+kasnder@users.noreply.github.com>
Copilot AI changed the title [WIP] Move api.mapbox.com into separate category for apps Categorize Mapbox as Essential content for microG compatibility Jan 4, 2026
Copilot AI requested a review from kasnder January 4, 2026 22:25
@kasnder kasnder closed this Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move api.mapbox.com into separate category for all apps

2 participants