You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--- We don't troubleshoot existing projects, please reproduce the issue in a brand new project. If you can't then create a new working project and compare with the one you're having trouble with. --->
Copy file name to clipboardExpand all lines: android/install.md
+3-29Lines changed: 3 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
2
2
3
3
## Supported mapbox libraries
4
4
5
-
We're only supporting mapbox 10.16* and 11.*. The default is 10.16*.
6
-
Next release will be 11.* only so we recommend updatign to 11.*
5
+
We support Mapbox Maps SDK v11.
7
6
8
7
### Adding mapbox maven repo
9
8
@@ -27,39 +26,14 @@ allprojects {
27
26
28
27
### Using non default mapbox version
29
28
30
-
*Warning*: If you set a custom version, make sure you revisit, any time you update @rnmapbox/maps. Setting it to earlier version than what we exepect will likely result in a build error.
29
+
*Warning*: If you set a custom version, make sure you revisit any time you update @rnmapbox/maps. Setting it to an earlier version than what we expect will likely result in a build error.
31
30
32
31
Set `RNMapboxMapsVersion` in `android/build.gradle > buildscript > ext` section
33
32
34
-
35
-
```groovy
36
-
buildscript {
37
-
ext {
38
-
RNMapboxMapsVersion = '11.4.1'
39
-
}
40
-
}
41
-
```
42
-
43
-
you can also customize all the libraries, should it be neccesary
44
-
45
-
```groovy
46
-
buildscript {
47
-
ext {
48
-
// ...
49
-
RNMapboxMapsLibs = { // optional - only required if you want to customize it
Copy file name to clipboardExpand all lines: ios/install.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,23 +50,10 @@ Read on if you want to edit your Mapbox version or flavor.
50
50
51
51
## Using a custom version of the Mapbox SDK
52
52
53
-
You can also override the version to use. *Warning:* if you set a version, then later update, the `rnamapbox/maps` library it's possible that you'll end up using Mapbox older version than supported. Make sure you revise this value with `@rnmapbox/maps` updates. Also note that for 11.0 or later versions you'll need to set `$RNMapboxMapsUseV11 = true`, see bellow
53
+
You can override the version to use. *Warning:* if you set a version, then later update the `@rnmapbox/maps` library it's possible that you'll end up using an older Mapbox version than supported. Make sure you revise this value with `@rnmapbox/maps` updates.
54
54
55
55
```ruby
56
-
# Warning: only for advanced use cases, only do this if you know what you're doing.
57
-
# $RNMapboxMapsVersion = '~> 10.16.2'
58
-
```
59
-
60
-
<br/>
61
-
62
-
## V11 support
63
-
64
-
We have support for mapbox 11.
65
-
66
-
Add the following to your Podfile:
67
-
68
-
```ruby
69
-
$RNMapboxMapsVersion='= 11.13.4'
56
+
$RNMapboxMapsVersion='= 11.16.2'
70
57
```
71
58
72
59
If using expo managed workflow, set the "RNMapboxMapsVersion" variable. See the [expo guide](/plugin/install.md)
0 commit comments