react-native-steerpath-smart-map 1.19.2 → 1.20.0

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,105 +15,112 @@ 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.19.2] - 2023-02-14
18
+ ## [1.20.0] - 2023-03-02
19
+
20
+ - Added missing configString prop to ConfigSDK interface
21
+ - Bump iOS Smart SDK version to 1.16.3
22
+ - Bump Android Smart SDK version to android-smart-1.19.1
23
+ - Bump Web Smart SDK version to 2.2.8
24
+
25
+ ## [1.19.2] - 2023-02-14
19
26
 
20
27
  - Bump Web Smart SDK version to 2.2.7
21
28
  - Bump Android Smart SDK version to android-smart-1.18.0
22
29
  - Bump iOS Smart SDK version to 1.16.2
23
30
 
24
- # [1.19.1] - 2023-02-10
31
+ ## [1.19.1] - 2023-02-10
25
32
 
26
33
  - Web to return camera options from callback in getSmartMapCameraOptions
27
34
 
28
- # [1.19.0] - 2023-02-06
35
+ ## [1.19.0] - 2023-02-06
29
36
 
30
37
  - Bump Android Smart SDK version to android-smart-1.17.1
31
38
 
32
- # [1.18.0] - 2023-01-13
39
+ ## [1.18.0] - 2023-01-13
33
40
 
34
41
  - New API: SmartMapView.getSmartMapCameraOptions()
35
42
  - Bump Android Smart SDK version to android-smart-1.16.0
36
43
  - Bump iOS Smart SDK version to 1.16.1
37
44
  - Bump Web SDK version to 2.2.6
38
45
 
39
- # [1.17.7] - 2022-11-25
46
+ ## [1.17.7] - 2022-11-25
40
47
 
41
48
  - Update web sdk
42
49
 
43
- # [1.17.6] - 2022-11-25
50
+ ## [1.17.6] - 2022-11-25
44
51
 
45
52
  - Better default values for camera animations
46
53
 
47
- # [1.17.5] - 2022-11-15
54
+ ## [1.17.5] - 2022-11-15
48
55
 
49
56
  - Localization updates to example app and updated documentation
50
57
 
51
- # [1.17.4] - 2022-11-10
58
+ ## [1.17.4] - 2022-11-10
52
59
 
53
60
  - Bump Android Smart SDK to version android-smart-1.15.2
54
61
 
55
- # [1.17.3] - 2022-11-04
62
+ ## [1.17.3] - 2022-11-04
56
63
 
57
64
  - Bump Android Smart SDK to version android-smart-1.15.1
58
65
 
59
- # [1.17.2] - 2022-11-03
66
+ ## [1.17.2] - 2022-11-03
60
67
 
61
68
  - Bump iOS Smart SDK to version 1.15.14
62
69
 
63
- # [1.17.1]
70
+ ## [1.17.1]
64
71
 
65
72
  - Bump Web Smart SDK version to 2.2.2
66
- # [1.17.0] - 2022-10-06
73
+ ## [1.17.0] - 2022-10-06
67
74
 
68
75
  - Bump Android Smart SDK version to android-smart-1.15.0
69
76
  - Introduced new Bluetooth scan and Bluetooth connect runtime permissions
70
77
  - target and compile sdk versions bumped to 31
71
78
 
72
- # [1.16.7] - 2022-09-05
79
+ ## [1.16.7] - 2022-09-05
73
80
 
74
81
  - Bump Android Smart SDK version to android-smart-1.14.8
75
82
 
76
- # [1.16.6] - 2022-09-05
83
+ ## [1.16.6] - 2022-09-05
77
84
 
78
85
  - Bump Android Smart SDK version to android-smart-1.14.7
79
86
 
80
- # [1.16.5] - 2022-08-18
87
+ ## [1.16.5] - 2022-08-18
81
88
 
82
89
  - Bump iOS Smart SDK version to 1.15.13
83
90
  - Bump Android SDK version to android-smart-1.14.6
84
91
 
85
- # [1.16.4] - 2022-07-26
92
+ ## [1.16.4] - 2022-07-26
86
93
 
87
94
  - Bump Web Smart SDK version to 2.1.4
88
95
 
89
- # [1.16.3] - 2022-07-26
96
+ ## [1.16.3] - 2022-07-26
90
97
 
91
98
  - Bump Web Smart SDK version to 2.1.3
92
99
 
93
- # [1.16.2] - 2022-06-16
100
+ ## [1.16.2] - 2022-06-16
94
101
 
95
102
  - Bump iOS Smart SDK version to 1.15.12
96
103
  - Bump Android Smart SDK version to android-smart-1.14.5
97
104
 
98
- # [1.16.1] - 2022-06-08
105
+ ## [1.16.1] - 2022-06-08
99
106
 
100
107
  - Fixed typoes in localized description properties in SmartMapObjectProperties interface. These props are optional.
101
108
 
102
- # [1.16.0] - 2022-06-01
109
+ ## [1.16.0] - 2022-06-01
103
110
 
104
111
  - Update build.gradle to make the library compatible with apps using gradle version 7+
105
112
  - Update example app's react native version to 0.68.1
106
113
 
107
- # [1.15.5] - 2022-05-11
114
+ ## [1.15.5] - 2022-05-11
108
115
 
109
116
  - Bump Web Smart SDK to 2.1.2
110
117
 
111
- # [1.15.4] - 2022-05-11
118
+ ## [1.15.4] - 2022-05-11
112
119
 
113
120
  - Bump Android Smart SDK to android-smart-1.14.4
114
121
  - Update default gradle plugin version to 4.0.2
115
122
 
116
- # [1.15.3] - 2022-04-01
123
+ ## [1.15.3] - 2022-04-01
117
124
 
118
125
  - Improved typings for SmartMapObject
119
126
 
@@ -53,7 +53,7 @@ repositories {
53
53
 
54
54
  dependencies {
55
55
  implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
56
- implementation "com.steerpath:smart:android-smart-1.18.0"
56
+ implementation "com.steerpath:smart:android-smart-1.19.1"
57
57
  implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
58
58
  implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
59
59
  }
@@ -1,8 +1,4 @@
1
- interface ConfigSDK {
2
- apiKey: string;
3
- configFilePath?: string | null;
4
- configString?: string | null;
5
- }
1
+ import { ConfigSDK } from './SmartMapViewProps';
6
2
  interface FetchVersionResponse {
7
3
  smartSDKVersion: string;
8
4
  mapboxSDKVersion: string;
@@ -1,7 +1,8 @@
1
1
  import { ViewProperties } from "react-native";
2
2
  export interface ConfigSDK {
3
3
  apiKey: string;
4
- configFilePath: string;
4
+ configFilePath?: string | null;
5
+ configString?: string | null;
5
6
  }
6
7
  export interface SmartMapViewMethods {
7
8
  addMarker(smartMapObj: SmartMapObject, layout: Layout | null, iconName: string | null, textColor: string | null, textHaloColor: string | null): void;
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.19.2",
4
+ "version": "1.20.0",
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": "^2.2.7"
27
+ "steerpath-smart-sdk": "^2.2.8"
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.16.2'
23
+ s.dependency 'SteerpathSmartSDK', '~> 1.16.3'
24
24
  # s.dependency "..."
25
25
  end
26
26
 
@@ -1,14 +1,9 @@
1
1
  /* eslint-disable prefer-destructuring */
2
2
  import { NativeModules, Platform } from "react-native";
3
+ import { ConfigSDK } from './SmartMapViewProps';
3
4
 
4
5
  const RNSmartMapManager = NativeModules.RNSmartMapManager;
5
6
 
6
- interface ConfigSDK {
7
- apiKey: string;
8
- configFilePath?: string | null;
9
- configString?: string | null;
10
- }
11
-
12
7
  interface FetchVersionResponse {
13
8
  smartSDKVersion: string;
14
9
  mapboxSDKVersion: string;
@@ -2,9 +2,8 @@ import { ViewProperties } from "react-native";
2
2
 
3
3
  export interface ConfigSDK {
4
4
  apiKey: string;
5
- // In Web, the config file path is a JSON string, on Android/iOS, it will be a
6
- // local file path to the config JSON file
7
- configFilePath: string;
5
+ configFilePath?: string | null;
6
+ configString?: string | null;
8
7
  }
9
8
 
10
9
  export interface SmartMapViewMethods {