Skip to content

Commit

Permalink
chore: upgrade to 10.16.4 and 11.1.0 of mapbox libs (#3338)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Jan 21, 2024
1 parent 752afff commit d703171
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def defaultMapboxMapsImpl = "mapbox"
def defaultMapboxMapsVersion = "10.16.3"
def defaultMapboxMapsVersion = "10.16.4"

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
Expand Down
2 changes: 1 addition & 1 deletion android/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Set `RNMapboxMapsVersion` in `android/build.gradle > buildscript > ext` section
```groovy
buildscript {
ext {
RNMapboxMapsVersion = '11.0.0'
RNMapboxMapsVersion = '11.1.0'
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ buildscript {
RNMapboxMapsImpl = "mapbox"
kotlinVersion = '1.6.21'
} else if (System.getenv('CI_MAP_IMPL').equals('mapbox11')) {
RNMapboxMapsVersion = '11.0.0'
RNMapboxMapsVersion = '11.1.0'
RNMapboxMapsImpl = "mapbox"
} else if (project.hasProperty('RNMBX11') && project.getProperty('RNMBX11').toBoolean()) {
RNMapboxMapsVersion = '11.0.0'
RNMapboxMapsVersion = '11.1.0'
}

// Mapbox deps
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prepare_react_native_project!

$RNMapboxMapsImpl = 'mapbox'
if ENV['RNMBX11']
$RNMapboxMapsVersion = '= 11.0.0'
$RNMapboxMapsVersion = '= 11.1.0'
end

if ENV['CI_MAP_IMPL']
Expand Down
2 changes: 1 addition & 1 deletion ios/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ We have support for mapbox 11.
Add the following to your Podfile:

```ruby
$RNMapboxMapsVersion = '= 11.0.0'
$RNMapboxMapsVersion = '= 11.1.0'
```

If using expo managed workflow, set the "RNMapboxMapsVersion" variable. See the [expo guide](/plugin/install.md)
Expand Down
4 changes: 2 additions & 2 deletions plugin/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ After installing this package, add the [config plugin](https://docs.expo.io/guid
[
"@rnmapbox/maps",
{
"RNMapboxMapsVersion": "11.0.0"
"RNMapboxMapsVersion": "11.1.0"
}
]
]
Expand Down Expand Up @@ -93,7 +93,7 @@ To use V11 just set the version to a 11 version, see [the ios guide](/ios/instal
[
"@rnmapbox/maps",
{
"RNMapboxMapsVersion": "11.0.0",
"RNMapboxMapsVersion": "11.1.0",
"RNMapboxMapsDownloadToken": "sk.ey...qg",
}
]
Expand Down
2 changes: 1 addition & 1 deletion rnmapbox-maps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

## Warning: these lines are scanned by autogenerate.js
rnMapboxMapsDefaultMapboxVersion = '~> 10.16.3'
rnMapboxMapsDefaultMapboxVersion = '~> 10.16.4'

rnMapboxMapsDefaultImpl = 'mapbox'

Expand Down

0 comments on commit d703171

Please sign in to comment.