@rnmapbox/maps 10.1.7 → 10.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  def defaultMapboxMapsImpl = "mapbox"
2
- def defaultMapboxMapsVersion = "10.16.3"
2
+ def defaultMapboxMapsVersion = "10.16.4"
3
3
 
4
4
  def safeExtGet(prop, fallback) {
5
5
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
@@ -46,7 +46,7 @@ Set `RNMapboxMapsVersion` in `android/build.gradle > buildscript > ext` section
46
46
  ```groovy
47
47
  buildscript {
48
48
  ext {
49
- RNMapboxMapsVersion = '11.0.0'
49
+ RNMapboxMapsVersion = '11.1.0'
50
50
  }
51
51
  }
52
52
  ```
@@ -1512,14 +1512,18 @@ fun RNMBXMapView.updateRequestDisallowInterceptTouchEvent(oldValue: Boolean, val
1512
1512
  return
1513
1513
  }
1514
1514
  if (value) {
1515
- mapView.setOnTouchListener { view, event ->
1516
- this.requestDisallowInterceptTouchEvent(true)
1517
- mapView.onTouchEvent(event)
1518
- true
1515
+ withMapView {
1516
+ it.setOnTouchListener { view, event ->
1517
+ this.requestDisallowInterceptTouchEvent(true)
1518
+ mapView.onTouchEvent(event)
1519
+ true
1520
+ }
1519
1521
  }
1520
1522
  } else {
1521
- mapView.setOnTouchListener { view, event ->
1522
- mapView.onTouchEvent(event)
1523
+ withMapView {
1524
+ it.setOnTouchListener { view, event ->
1525
+ mapView.onTouchEvent(event)
1526
+ }
1523
1527
  }
1524
1528
  }
1525
1529
  }
package/ios/install.md CHANGED
@@ -69,7 +69,7 @@ We have support for mapbox 11.
69
69
  Add the following to your Podfile:
70
70
 
71
71
  ```ruby
72
- $RNMapboxMapsVersion = '= 11.0.0'
72
+ $RNMapboxMapsVersion = '= 11.1.0'
73
73
  ```
74
74
 
75
75
  If using expo managed workflow, set the "RNMapboxMapsVersion" variable. See the [expo guide](/plugin/install.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
3
  "description": "A Mapbox react native module for creating custom maps",
4
- "version": "10.1.7",
4
+ "version": "10.1.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/plugin/install.md CHANGED
@@ -20,7 +20,7 @@ After installing this package, add the [config plugin](https://docs.expo.io/guid
20
20
  [
21
21
  "@rnmapbox/maps",
22
22
  {
23
- "RNMapboxMapsVersion": "11.0.0"
23
+ "RNMapboxMapsVersion": "11.1.0"
24
24
  }
25
25
  ]
26
26
  ]
@@ -93,7 +93,7 @@ To use V11 just set the version to a 11 version, see [the ios guide](/ios/instal
93
93
  [
94
94
  "@rnmapbox/maps",
95
95
  {
96
- "RNMapboxMapsVersion": "11.0.0",
96
+ "RNMapboxMapsVersion": "11.1.0",
97
97
  "RNMapboxMapsDownloadToken": "sk.ey...qg",
98
98
  }
99
99
  ]
@@ -20,7 +20,7 @@ require 'json'
20
20
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
21
21
 
22
22
  ## Warning: these lines are scanned by autogenerate.js
23
- rnMapboxMapsDefaultMapboxVersion = '~> 10.16.3'
23
+ rnMapboxMapsDefaultMapboxVersion = '~> 10.16.4'
24
24
 
25
25
  rnMapboxMapsDefaultImpl = 'mapbox'
26
26