You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make Mapbox SDK authentication optional (#4012)
* feat: make Mapbox SDK authentication optional
• Remove mandatory authentication requirement for Mapbox SDK downloads
• Update build.gradle files to make MAPBOX_DOWNLOADS_TOKEN optional
• Remove .netrc setup from iOS CI workflow
• Make gradle.properties setup optional in Android CI workflow
• Update Expo plugin to make authentication optional
• Update documentation to reflect optional authentication
This change aligns with Mapbox's removal of download token requirements
as mentioned in: mapbox/mapbox-maps-flutter#775
The authentication is kept optional for backward compatibility.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: remove download token steps and comments from CI workflows
• Remove all MAPBOX_DOWNLOAD_TOKEN related steps from Android and iOS CI workflows
• Remove download token secrets from workflow definitions
• Remove explanatory comments since they're no longer needed
• Clean up CI to be simpler since authentication is no longer required
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: simplify installation documentation by removing authentication steps
• Remove complex authentication setup from Android installation guide
• Remove authentication setup from iOS installation guide
• Add simple note explaining Mapbox removed auth requirement
• Simplify maven repo configuration to just URL
• Make documentation more user-friendly and easier to follow
This reflects the new reality that Mapbox SDK downloads no longer require
authentication tokens, making the setup process much simpler for developers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: correct MAPBOX_ACCESS_TOKEN secret in ci-for-forked-repos
- Remove ENV_MAPBOX_ACCESS_TOKEN and use MAPBOX_ACCESS_TOKEN directly
- This matches the secret expected by ci-requiring-tokens workflow
- Remove unnecessary ENV_MAPBOX_DOWNLOAD_TOKEN secret
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* remove MAPBOX_DOWNLOAD_TOKEN from ci
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: android/install.md
+3-14Lines changed: 3 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,11 @@
2
2
3
3
## Supported mapbox libraries
4
4
5
-
We're only supporting mapbox 10.16* and 11.*. The default is 10.16*.
5
+
We're only supporting mapbox 10.16* and 11.*. The default is 10.16*.
6
6
Next release will be 11.* only so we recommend updatign to 11.*
7
7
8
8
### Adding mapbox maven repo
9
9
10
-
You will need to authorize your download of the Maps SDK via a secret access token with the `DOWNLOADS:READ` scope.
11
-
This [guide](https://docs.mapbox.com/android/maps/guides/install/#configure-credentials) explains how to `Configure credentials` and `Configure your secret token`.
12
-
13
10
Then under section `allprojects/repositories` add your data:
*Note:* mapbox lifted auth requirement from downloads so MAPBOX_DOWNLOADS_TOKEN is no longer needed
27
+
39
28
### Using non default mapbox version
40
29
41
30
*Warning*: If you set a custom version, make sure you revisit, any time you update @rnmapbox/maps. Setting it to earlier version than what we exepect will likely result in a build error.
Copy file name to clipboardExpand all lines: example/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,8 +57,7 @@ cd example
57
57
* Android: Set up your Mapbox developer keys as described in https://github.com/rnmapbox/maps/blob/main/android/install.md#adding-mapbox-maven-repo (no need to change build.gradle, just set up gradle.properties)
58
58
59
59
* iOS:
60
-
1. Set up your Mapbox developer keys as described in [https://github.com/rnmapbox/maps/blob/main/ios/install.md#adding-mapbox-maven-repo](https://github.com/rnmapbox/maps/blob/main/ios/install.md#mapbox-maps-sdk-v10) (add your cerdentials to .netrc as described)
0 commit comments