Skip to content

Conversation

@kevinherdez
Copy link
Collaborator

@kevinherdez kevinherdez commented Jan 13, 2026

THIS WILL BE DELETED AND IS ONLY FOR TESTING

If anyone is interested in trying out the new mapbox integration checkout this branch and do the following:

  • run yarn install to fetch @rnmapbox
  • Reach out to me so I can give you the API Key to replace the process.env.MAPBOX_API_KEY value
  • run npx expo prebuild --clean so that expo rebuilds the apps and correctly installs @rnmapbox
  • create and run a local dev build. EXPO GO WILL NO LONGER WORK AS @rnmapbox REQUIRES CUSTOM NATIVE CODE

For Android:

  • run npx expo run:android

For iOS:

  • run xed ios from the avy folder (this will open the iOS workspace in Xcode)
  • click run in Xcode and put the destination as a simulator
    • you may hit an error that a switch statement isn't exhaustive on a locale file
    • Go to the file and add:
@unknown default:
   return "gregory"
  • run npx expo start and then hit i

Once built Go to the More tab, scroll down until you get to "Screens" under "Developer Menu", and click on "View MapBox"

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.

1 participant