@mapsindoors/react-native-maps-indoors-mapbox 1.0.7 → 1.0.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.
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Documentation
|
|
4
4
|
|
|
5
|
-
Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/1.0.
|
|
5
|
+
Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/1.0.8/index.html) to get an overview of what the MapsIndoors SDK offers.
|
|
6
6
|
|
|
7
7
|
## Getting started
|
|
8
8
|
|
package/android/build.gradle
CHANGED
|
@@ -93,7 +93,7 @@ dependencies {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
implementation 'com.mapbox.maps:android:10.14.1'
|
|
96
|
-
implementation 'com.mapspeople.mapsindoors:mapbox:4.2.
|
|
96
|
+
implementation 'com.mapspeople.mapsindoors:mapbox:4.2.8'
|
|
97
97
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
98
98
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
99
99
|
}
|
|
@@ -72,7 +72,7 @@ public class MPDisplayRuleModule: NSObject {
|
|
|
72
72
|
let range = NSRange(location: 0, length: hex.utf16.count)
|
|
73
73
|
|
|
74
74
|
if (regex.matches(in: hex, range: range).count == 1) {
|
|
75
|
-
return UIColor(
|
|
75
|
+
return UIColor(hex: hex)!
|
|
76
76
|
} else {
|
|
77
77
|
throw HexParsingError.invalidHexString(hex)
|
|
78
78
|
}
|
|
@@ -17,7 +17,7 @@ public class MapControlModule: RCTEventEmitter {
|
|
|
17
17
|
let range = NSRange(location: 0, length: hex.utf16.count)
|
|
18
18
|
|
|
19
19
|
if (regex.matches(in: hex, range: range).count == 1) {
|
|
20
|
-
return UIColor(
|
|
20
|
+
return UIColor(hex: hex)!
|
|
21
21
|
} else {
|
|
22
22
|
throw HexParsingError.invalidHexString(hex)
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
|
|
|
24
24
|
s.requires_arc = true
|
|
25
25
|
|
|
26
26
|
s.dependency "React"
|
|
27
|
-
s.dependency "MapsIndoorsMapbox", "4.2.
|
|
28
|
-
s.dependency "MapsIndoorsCodable", "4.2.
|
|
27
|
+
s.dependency "MapsIndoorsMapbox", "4.2.13"
|
|
28
|
+
s.dependency "MapsIndoorsCodable", "4.2.13"
|
|
29
29
|
end
|
|
30
30
|
|