diff --git a/docs/install.md b/docs/install.md index c30f6ad..49348b2 100644 --- a/docs/install.md +++ b/docs/install.md @@ -152,11 +152,17 @@ expo prebuild --clean -## Using V11 +## Customizing Mapbox Version -@rnmapbox 10.1 supports both `10.16.*` and `11.0.*` versions, but defaults to `10.16.*`. To use `11.0.*` please configure according to your platform: +@rnmapbox/maps 10.2 defaults to Mapbox Maps SDK `11.0.*`. - **Note:** Mapbox Maps SDK v10 is now deprecated. We recommend using v11 for new projects and upgrading existing projects to v11. + +### Using V10 (Deprecated) + +If you need to use the deprecated `10.16.*` version, you can configure it according to your platform: + + @@ -184,7 +184,7 @@ Set `RNMapboxMapsVersion` in `android/build.gradle` > `buildscript` > `ext` sect buildscript { ext { // highlight-start - RNMapboxMapsVersion = '11.0.0' + RNMapboxMapsVersion = '10.16.4' // highlight-end } } @@ -204,7 +204,7 @@ Add `RNMapboxMapsVersion` to the @rnmapbox/maps [config plugin](https://docs.exp { ... // highlight-start - "RNMapboxMapsVersion": "11.0.0" + "RNMapboxMapsVersion": "10.16.4" // highlight-end } ] @@ -219,9 +219,9 @@ Add `RNMapboxMapsVersion` to the @rnmapbox/maps [config plugin](https://docs.exp ## Advanced - using non default version -It's possible to overwrite the native SDK version with `RNMapboxMapsVersion`. But you have to revise it when upgrading `@rnmapbox/maps` as future `@rnmapbox/maps` releases might not support he version you set today. +It's possible to overwrite the native SDK version with `RNMapboxMapsVersion`. However, you should revise this when upgrading `@rnmapbox/maps` as future releases might not support the version you set. -Follow the instructions above [on using v11](#using-v11), just use 10.* version you'd like. +To use a specific v11 version, follow the instructions above [for customizing the Mapbox version](#customizing-mapbox-version), specifying your desired `11.*` version (e.g., `11.0.0`, `11.1.0`, etc.). ## Configure permissions for location access