Skip to content

feat: use env variable RNMAPBOX_MAPS_DOWNLOAD_TOKEN to provide downl…#4010

Merged
mfazekas merged 4 commits intomainfrom
feat/support-rnmapbox-maps-download-token-env
Oct 5, 2025
Merged

feat: use env variable RNMAPBOX_MAPS_DOWNLOAD_TOKEN to provide downl…#4010
mfazekas merged 4 commits intomainfrom
feat/support-rnmapbox-maps-download-token-env

Conversation

@mfazekas
Copy link
Contributor

@mfazekas mfazekas commented Oct 5, 2025

Description

Fixes #3396

We've allowed to specify RNMapboxMapsToken in expo plugin config file. That's not ideal as those are exposed in built .apk/.app.

Such tokens should be defined in env variables, which is now supported via RNMAPBOX_MAPS_DOWNLOAD_TOKEN environment variable and the old RNMapboxMapsToken is now deprecated

See #3396 and expo/sentry-expo#321, and expo/sentry-expo#321 (comment)

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video

Component to reproduce the issue you're fixing

@mfazekas mfazekas force-pushed the feat/support-rnmapbox-maps-download-token-env branch from 38097b0 to 24ee25e Compare October 5, 2025 08:10
@mfazekas mfazekas merged commit 643a67e into main Oct 5, 2025
11 checks passed
@mfazekas mfazekas deleted the feat/support-rnmapbox-maps-download-token-env branch October 5, 2025 12:54
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.

Expo Prebuild Secret Key

1 participant