79367499

Date: 2025-01-18 16:22:18
Score: 2.5
Natty:
Report link

I created New Token with Download:read permission at https://console.mapbox.com/account/access-tokens.

  1. Add new genereted secret key to app.json 0r app.config.js -> "plugins": [ [ "@rnmapbox/maps", { "MAPBOX_TOKEN" } ] ]

  2. add MAPBOX_DOWNLOADS_TOKEN to gradle.properties -> MAPBOX_DOWNLOADS_TOKEN= MAPBOX_TOKEN

  3. add mapbox authentication to build.gradle->Allprojects -> repositories:

enter image description here

  1. Run "npm run android" and app will be installed in emulator/android device/
Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: jyoti