react-native-steerpath-smart-map 1.12.8 → 1.12.12

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/CHANGELOG.md CHANGED
@@ -15,6 +15,25 @@ This package is built on top of Steerpath's Smart SDK, and most of releases are
15
15
  - [iOS](https://s3-eu-west-1.amazonaws.com/steerpath/ios/releases/smart-sdk-changelog/index.html)
16
16
  - [Web](https://s3-eu-west-1.amazonaws.com/steerpath-web-sdk/documentation/smart/latest/index.html)
17
17
 
18
+ ## [1.12.12] - 2021-12-07
19
+
20
+ - Bump Android Smart SDK to android-smart-1.14.0
21
+
22
+ ## [1.12.11] - 2021-11-22
23
+
24
+ - Bump iOS Smart SDK to 1.15.7 to make the search UI work again.
25
+
26
+ ## [1.12.10] - 2021-11-22
27
+
28
+ Special release where search UI is completely disabled on iOS. Not recommended to use this.
29
+
30
+ - Bump iOS Smart SDK to 1.15.6
31
+ - Use default marker of the style when iconImage is not defined in addMarkers or addMarker methods
32
+ ## [1.12.9] - 2021-11-12
33
+
34
+ - Bump iOS Smart SDK to 1.15.5
35
+ - Bump Android Smart SDK to android-smart-1.12.1
36
+
18
37
  ## [1.12.8] - 2021-10-27
19
38
 
20
39
  - Bump iOS Smart SDK to 1.15.4
@@ -59,7 +59,7 @@ repositories {
59
59
 
60
60
  dependencies {
61
61
  implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
62
- implementation "com.steerpath:smart:android-smart-1.11.5"
62
+ implementation "com.steerpath:smart:android-smart-1.12.1"
63
63
  implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
64
64
  implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
65
65
  }
@@ -59,7 +59,7 @@ repositories {
59
59
 
60
60
  dependencies {
61
61
  implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
62
- implementation "com.steerpath:smart:android-smart-1.11.5"
62
+ implementation "com.steerpath:smart:android-smart-1.14.0"
63
63
  implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
64
64
  implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
65
65
  }
@@ -28,7 +28,7 @@ export var SmartMapView = forwardRef(function _SmartMapViewFC(props, ref) {
28
28
  runCommand(smartMapRef.current, "addMarker", [
29
29
  smartMapObj,
30
30
  layout,
31
- iconName,
31
+ iconName || "category_marker",
32
32
  textColor,
33
33
  textHaloColor,
34
34
  ]);
@@ -37,7 +37,7 @@ export var SmartMapView = forwardRef(function _SmartMapViewFC(props, ref) {
37
37
  runCommand(smartMapRef.current, "addMarkers", [
38
38
  mapObjectsArray,
39
39
  layout,
40
- iconName,
40
+ iconName || "category_marker",
41
41
  textColor,
42
42
  textHaloColor,
43
43
  ]);
@@ -130,7 +130,7 @@ export var SmartMapView = forwardRef(function (props, ref) {
130
130
  runCommand(smartMapRef.current, "addMarker", [
131
131
  convertToWebSDKSmartMapObj(smartMapObj),
132
132
  layout,
133
- iconName,
133
+ iconName || "category_marker",
134
134
  textColor,
135
135
  textHaloColor,
136
136
  ]);
@@ -142,7 +142,7 @@ export var SmartMapView = forwardRef(function (props, ref) {
142
142
  runCommand(smartMapRef.current, "addMarkers", [
143
143
  mapObjectsArray,
144
144
  layout,
145
- iconName,
145
+ iconName || "category_marker",
146
146
  textColor,
147
147
  textHaloColor,
148
148
  ]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-steerpath-smart-map",
3
3
  "title": "React Native Steerpath Smart Map",
4
- "version": "1.12.8",
4
+ "version": "1.12.12",
5
5
  "description": "Steerpath SmartMapView for React Native",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
@@ -24,7 +24,7 @@
24
24
  "licenseFilename": "LICENSE",
25
25
  "readmeFilename": "README.md",
26
26
  "dependencies": {
27
- "steerpath-smart-sdk": "^1.7.2"
27
+ "steerpath-smart-sdk": "^1.8.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^16.5.0",
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
20
20
  s.requires_arc = true
21
21
 
22
22
  s.dependency "React"
23
- s.dependency 'SteerpathSmartSDK', '~> 1.15.4'
23
+ s.dependency 'SteerpathSmartSDK', '~> 1.15.7'
24
24
  # s.dependency "..."
25
25
  end
26
26
 
@@ -45,7 +45,7 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
45
45
  runCommand(smartMapRef.current, "addMarker", [
46
46
  smartMapObj,
47
47
  layout,
48
- iconName,
48
+ iconName || "category_marker",
49
49
  textColor,
50
50
  textHaloColor,
51
51
  ]);
@@ -54,7 +54,7 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
54
54
  runCommand(smartMapRef.current, "addMarkers", [
55
55
  mapObjectsArray,
56
56
  layout,
57
- iconName,
57
+ iconName || "category_marker",
58
58
  textColor,
59
59
  textHaloColor,
60
60
  ]);
@@ -192,7 +192,7 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
192
192
  runCommand(smartMapRef.current, "addMarker", [
193
193
  convertToWebSDKSmartMapObj(smartMapObj),
194
194
  layout,
195
- iconName,
195
+ iconName || "category_marker",
196
196
  textColor,
197
197
  textHaloColor,
198
198
  ]);
@@ -204,7 +204,7 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
204
204
  runCommand(smartMapRef.current, "addMarkers", [
205
205
  mapObjectsArray,
206
206
  layout,
207
- iconName,
207
+ iconName || "category_marker",
208
208
  textColor,
209
209
  textHaloColor,
210
210
  ]);