react-native-steerpath-smart-map 1.19.2 → 1.21.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 +35 -23
- package/android/build.gradle +1 -1
- package/dist/SmartMapManager.d.ts +1 -5
- package/dist/SmartMapViewProps.d.ts +3 -1
- package/package.json +2 -2
- package/react-native-steerpath-smart-map.podspec +1 -1
- package/src/SmartMapManager.ts +1 -6
- package/src/SmartMapViewProps.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -15,105 +15,117 @@ 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
|
-
|
|
18
|
+
## [1.21.0]
|
|
19
|
+
|
|
20
|
+
- Added externalFeedbackUrl to SmartMapObjectProperties
|
|
21
|
+
- Bump iOS Smart SDK version to 1.16.4
|
|
22
|
+
|
|
23
|
+
## [1.20.0] - 2023-03-02
|
|
24
|
+
|
|
25
|
+
- Added missing configString prop to ConfigSDK interface
|
|
26
|
+
- Bump iOS Smart SDK version to 1.16.3
|
|
27
|
+
- Bump Android Smart SDK version to android-smart-1.19.1
|
|
28
|
+
- Bump Web Smart SDK version to 2.2.8
|
|
29
|
+
|
|
30
|
+
## [1.19.2] - 2023-02-14
|
|
19
31
|
|
|
20
32
|
- Bump Web Smart SDK version to 2.2.7
|
|
21
33
|
- Bump Android Smart SDK version to android-smart-1.18.0
|
|
22
34
|
- Bump iOS Smart SDK version to 1.16.2
|
|
23
35
|
|
|
24
|
-
|
|
36
|
+
## [1.19.1] - 2023-02-10
|
|
25
37
|
|
|
26
38
|
- Web to return camera options from callback in getSmartMapCameraOptions
|
|
27
39
|
|
|
28
|
-
|
|
40
|
+
## [1.19.0] - 2023-02-06
|
|
29
41
|
|
|
30
42
|
- Bump Android Smart SDK version to android-smart-1.17.1
|
|
31
43
|
|
|
32
|
-
|
|
44
|
+
## [1.18.0] - 2023-01-13
|
|
33
45
|
|
|
34
46
|
- New API: SmartMapView.getSmartMapCameraOptions()
|
|
35
47
|
- Bump Android Smart SDK version to android-smart-1.16.0
|
|
36
48
|
- Bump iOS Smart SDK version to 1.16.1
|
|
37
49
|
- Bump Web SDK version to 2.2.6
|
|
38
50
|
|
|
39
|
-
|
|
51
|
+
## [1.17.7] - 2022-11-25
|
|
40
52
|
|
|
41
53
|
- Update web sdk
|
|
42
54
|
|
|
43
|
-
|
|
55
|
+
## [1.17.6] - 2022-11-25
|
|
44
56
|
|
|
45
57
|
- Better default values for camera animations
|
|
46
58
|
|
|
47
|
-
|
|
59
|
+
## [1.17.5] - 2022-11-15
|
|
48
60
|
|
|
49
61
|
- Localization updates to example app and updated documentation
|
|
50
62
|
|
|
51
|
-
|
|
63
|
+
## [1.17.4] - 2022-11-10
|
|
52
64
|
|
|
53
65
|
- Bump Android Smart SDK to version android-smart-1.15.2
|
|
54
66
|
|
|
55
|
-
|
|
67
|
+
## [1.17.3] - 2022-11-04
|
|
56
68
|
|
|
57
69
|
- Bump Android Smart SDK to version android-smart-1.15.1
|
|
58
70
|
|
|
59
|
-
|
|
71
|
+
## [1.17.2] - 2022-11-03
|
|
60
72
|
|
|
61
73
|
- Bump iOS Smart SDK to version 1.15.14
|
|
62
74
|
|
|
63
|
-
|
|
75
|
+
## [1.17.1]
|
|
64
76
|
|
|
65
77
|
- Bump Web Smart SDK version to 2.2.2
|
|
66
|
-
|
|
78
|
+
## [1.17.0] - 2022-10-06
|
|
67
79
|
|
|
68
80
|
- Bump Android Smart SDK version to android-smart-1.15.0
|
|
69
81
|
- Introduced new Bluetooth scan and Bluetooth connect runtime permissions
|
|
70
82
|
- target and compile sdk versions bumped to 31
|
|
71
83
|
|
|
72
|
-
|
|
84
|
+
## [1.16.7] - 2022-09-05
|
|
73
85
|
|
|
74
86
|
- Bump Android Smart SDK version to android-smart-1.14.8
|
|
75
87
|
|
|
76
|
-
|
|
88
|
+
## [1.16.6] - 2022-09-05
|
|
77
89
|
|
|
78
90
|
- Bump Android Smart SDK version to android-smart-1.14.7
|
|
79
91
|
|
|
80
|
-
|
|
92
|
+
## [1.16.5] - 2022-08-18
|
|
81
93
|
|
|
82
94
|
- Bump iOS Smart SDK version to 1.15.13
|
|
83
95
|
- Bump Android SDK version to android-smart-1.14.6
|
|
84
96
|
|
|
85
|
-
|
|
97
|
+
## [1.16.4] - 2022-07-26
|
|
86
98
|
|
|
87
99
|
- Bump Web Smart SDK version to 2.1.4
|
|
88
100
|
|
|
89
|
-
|
|
101
|
+
## [1.16.3] - 2022-07-26
|
|
90
102
|
|
|
91
103
|
- Bump Web Smart SDK version to 2.1.3
|
|
92
104
|
|
|
93
|
-
|
|
105
|
+
## [1.16.2] - 2022-06-16
|
|
94
106
|
|
|
95
107
|
- Bump iOS Smart SDK version to 1.15.12
|
|
96
108
|
- Bump Android Smart SDK version to android-smart-1.14.5
|
|
97
109
|
|
|
98
|
-
|
|
110
|
+
## [1.16.1] - 2022-06-08
|
|
99
111
|
|
|
100
112
|
- Fixed typoes in localized description properties in SmartMapObjectProperties interface. These props are optional.
|
|
101
113
|
|
|
102
|
-
|
|
114
|
+
## [1.16.0] - 2022-06-01
|
|
103
115
|
|
|
104
116
|
- Update build.gradle to make the library compatible with apps using gradle version 7+
|
|
105
117
|
- Update example app's react native version to 0.68.1
|
|
106
118
|
|
|
107
|
-
|
|
119
|
+
## [1.15.5] - 2022-05-11
|
|
108
120
|
|
|
109
121
|
- Bump Web Smart SDK to 2.1.2
|
|
110
122
|
|
|
111
|
-
|
|
123
|
+
## [1.15.4] - 2022-05-11
|
|
112
124
|
|
|
113
125
|
- Bump Android Smart SDK to android-smart-1.14.4
|
|
114
126
|
- Update default gradle plugin version to 4.0.2
|
|
115
127
|
|
|
116
|
-
|
|
128
|
+
## [1.15.3] - 2022-04-01
|
|
117
129
|
|
|
118
130
|
- Improved typings for SmartMapObject
|
|
119
131
|
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
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,7 +1,8 @@
|
|
|
1
1
|
import { ViewProperties } from "react-native";
|
|
2
2
|
export interface ConfigSDK {
|
|
3
3
|
apiKey: string;
|
|
4
|
-
configFilePath
|
|
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;
|
|
@@ -170,6 +171,7 @@ export interface SmartMapObjectProperties {
|
|
|
170
171
|
'title:nb'?: string;
|
|
171
172
|
'title:en'?: string;
|
|
172
173
|
weekPlannerCapacity?: number;
|
|
174
|
+
externalFeedbackUrl?: string;
|
|
173
175
|
[key: string]: any;
|
|
174
176
|
}
|
|
175
177
|
export interface SmartMapObject {
|
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.
|
|
4
|
+
"version": "1.21.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.
|
|
27
|
+
"steerpath-smart-sdk": "^2.2.8"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "^16.5.0",
|
package/src/SmartMapManager.ts
CHANGED
|
@@ -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;
|
package/src/SmartMapViewProps.ts
CHANGED
|
@@ -2,9 +2,8 @@ import { ViewProperties } from "react-native";
|
|
|
2
2
|
|
|
3
3
|
export interface ConfigSDK {
|
|
4
4
|
apiKey: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
configFilePath: string;
|
|
5
|
+
configFilePath?: string | null;
|
|
6
|
+
configString?: string | null;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
export interface SmartMapViewMethods {
|
|
@@ -236,6 +235,7 @@ export interface SmartMapObjectProperties {
|
|
|
236
235
|
'title:nb'?: string;
|
|
237
236
|
'title:en'?: string;
|
|
238
237
|
weekPlannerCapacity?: number;
|
|
238
|
+
externalFeedbackUrl?: string;
|
|
239
239
|
[key: string]: any; // Probably not the best practice, but this way we can get the access to properties that are not typed above.
|
|
240
240
|
}
|
|
241
241
|
|