Skip to content

Commit

Permalink
Update install.md for ios: Mapbox Maps SDK (rnmapbox#1106)
Browse files Browse the repository at this point in the history
* Update install.md

Following ticket https://github.com/react-native-mapbox-gl/maps/issues/1103 to explain how to use a custom version of the Mapbox Maps SDK for iOS.

* Update install.md

* Removed section for deprecated version
  • Loading branch information
mzu authored and naftalibeder committed Mar 22, 2021
1 parent d47a63c commit 4851efc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ios/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,20 @@ Mapbox normally [requires](https://github.com/mapbox/mapbox-gl-native-ios/issues

```

## Mapbox Maps SDK

It is possible to set a custom version of the Mapbox SDK:

### New version - since `8.1rc5`

Add the following to you `ios/Podfile`:

```ruby
$ReactNativeMapboxGLIOSVersion = '~> 6.1'
```

Check the current version of the SDK [here](https://docs.mapbox.com/ios/maps/overview/).

### Mapbox Maps SDK > `v6.0.0`

If you are using version `v6.0.0` of the SDK or later, you will need to authorize your download of the Maps SDK with a secret access token with the `DOWNLOADS:READ` scope. This [guide](https://docs.mapbox.com/ios/maps/overview/#install-the-sdk) explains how to configure the secret token under section `Configure your secret token`.

0 comments on commit 4851efc

Please sign in to comment.