Skip to content

Commit

Permalink
Update default mapbox maps version to 11.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefHenna committed Nov 11, 2024
1 parent 1dc69aa commit 0e69f1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A simple Expo wrapper for Mapbox's navigation SDK's on Android and iOS

### `@rnmapbox/maps`

This package relies on the installtion of `@rnmapbox/maps`, so you'll have to install and setup as explained in their [installtion instructions](https://rnmapbox.github.io/docs/install). The current version of **Expo Mapbox Navigation** package was developed and tested for Mapbox Maps version `11.3.0`, so that is the recommended version when setting up the maps package. It is possible that everything will work with a later version, but unlikely with a lower version. **However, make sure you explcitly set the version with `RNMapboxMapsVersion` because this package relies on this being set to work**
This package relies on the installtion of `@rnmapbox/maps`, so you'll have to install and setup as explained in their [installtion instructions](https://rnmapbox.github.io/docs/install). The current version of **Expo Mapbox Navigation** package was developed and tested for Mapbox Maps version `11.5.0`, so that is the recommended version when setting up the maps package. It is possible that everything will work with a later version, but unlikely with a lower version. **However, make sure you explcitly set the version with `RNMapboxMapsVersion` because this package relies on this being set to work**

> [!NOTE]
> Make sure to follow the instructions carefully and include the proper token in the config plugin and to call the `Mapbox.setAccessToken` function. You can be sure everything is good when you're able to render a map.
Expand Down
4 changes: 2 additions & 2 deletions example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"@rnmapbox/maps",
{
"RNMapboxMapsDownloadToken": "<DOWNLOAD_TOKEN>",
"RNMapboxMapsVersion": "11.3.0"
"RNMapboxMapsVersion": "11.5.0"
}
],
[
"../app.plugin.js",
{
"accessToken": "<TOKEN>",
"mapboxMapsVersion": "11.3.0"
"mapboxMapsVersion": "11.5.0"
}
]
]
Expand Down

0 comments on commit 0e69f1e

Please sign in to comment.