hypertrack-sdk-react-native 9.1.1 → 9.2.2
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 +166 -3
- package/CONTRIBUTING.md +8 -5
- package/README.md +3 -3
- package/android/.gradle/7.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.2/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +19 -0
- package/android/.idea/jarRepositories.xml +35 -0
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/local.properties +8 -0
- package/android/src/main/java/com/reactnativehypertracksdk/HyperTrackReactNativePlugin.kt +4 -4
- package/android/src/main/java/com/reactnativehypertracksdk/ReactNativeSerialization.kt +16 -17
- package/android/src/main/java/com/reactnativehypertracksdk/common/GeotagData.kt +13 -0
- package/android/src/main/java/com/reactnativehypertracksdk/common/HyperTrackSdkWrapper.kt +45 -19
- package/android/src/main/java/com/reactnativehypertracksdk/common/Serialization.kt +115 -40
- package/hypertrack-sdk-react-native.podspec +1 -1
- package/ios/common/GeotagData.swift +11 -0
- package/ios/common/HyperTrackSDKWrapper.swift +9 -4
- package/ios/common/Serialization.swift +140 -61
- package/lib/commonjs/HyperTrack/HyperTrack.js +90 -22
- package/lib/commonjs/HyperTrack/HyperTrack.js.map +1 -1
- package/lib/commonjs/HyperTrack/data_types/HyperTrackError.js +4 -4
- package/lib/commonjs/HyperTrack/data_types/HyperTrackError.js.map +1 -1
- package/lib/commonjs/HyperTrack/data_types/Location.js.map +1 -1
- package/lib/commonjs/HyperTrack/data_types/LocationWithDeviation.js +6 -0
- package/lib/commonjs/HyperTrack/data_types/LocationWithDeviation.js.map +1 -0
- package/lib/commonjs/HyperTrack/data_types/Result.js +2 -0
- package/lib/commonjs/HyperTrack/data_types/Result.js.map +1 -0
- package/lib/commonjs/HyperTrack/data_types/internal/{LocationResponse.js → GeotagData.js} +1 -1
- package/lib/commonjs/HyperTrack/data_types/internal/GeotagData.js.map +1 -0
- package/lib/commonjs/HyperTrack/data_types/internal/LocationInternal.js +2 -0
- package/lib/commonjs/HyperTrack/data_types/internal/LocationInternal.js.map +1 -0
- package/lib/commonjs/HyperTrack/data_types/internal/LocationWithDeviationInternal.js +6 -0
- package/lib/commonjs/HyperTrack/data_types/internal/LocationWithDeviationInternal.js.map +1 -0
- package/lib/commonjs/index.js +26 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/HyperTrack/HyperTrack.js +90 -22
- package/lib/module/HyperTrack/HyperTrack.js.map +1 -1
- package/lib/module/HyperTrack/data_types/HyperTrackError.js +3 -3
- package/lib/module/HyperTrack/data_types/HyperTrackError.js.map +1 -1
- package/lib/module/HyperTrack/data_types/Location.js.map +1 -1
- package/lib/module/HyperTrack/data_types/LocationWithDeviation.js +2 -0
- package/lib/module/HyperTrack/data_types/LocationWithDeviation.js.map +1 -0
- package/lib/module/HyperTrack/data_types/Result.js +2 -0
- package/lib/module/HyperTrack/data_types/Result.js.map +1 -0
- package/lib/module/HyperTrack/data_types/internal/GeotagData.js +2 -0
- package/lib/module/HyperTrack/data_types/internal/GeotagData.js.map +1 -0
- package/lib/module/HyperTrack/data_types/internal/LocationInternal.js +2 -0
- package/lib/module/HyperTrack/data_types/internal/LocationInternal.js.map +1 -0
- package/lib/module/HyperTrack/data_types/internal/LocationWithDeviationInternal.js +2 -0
- package/lib/module/HyperTrack/data_types/internal/LocationWithDeviationInternal.js.map +1 -0
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/HyperTrack/HyperTrack.d.ts +18 -1
- package/lib/typescript/HyperTrack/data_types/Location.d.ts +2 -5
- package/lib/typescript/HyperTrack/data_types/LocationWithDeviation.d.ts +5 -0
- package/lib/typescript/HyperTrack/data_types/Result.d.ts +9 -0
- package/lib/typescript/HyperTrack/data_types/internal/GeotagData.d.ts +5 -0
- package/lib/typescript/HyperTrack/data_types/internal/LocationInternal.d.ts +7 -0
- package/lib/typescript/HyperTrack/data_types/internal/LocationWithDeviationInternal.d.ts +8 -0
- package/lib/typescript/index.d.ts +3 -1
- package/package.json +1 -1
- package/src/HyperTrack/HyperTrack.ts +160 -46
- package/src/HyperTrack/data_types/Location.ts +2 -5
- package/src/HyperTrack/data_types/LocationWithDeviation.ts +6 -0
- package/src/HyperTrack/data_types/Result.ts +11 -0
- package/src/HyperTrack/data_types/internal/GeotagData.ts +6 -0
- package/src/HyperTrack/data_types/internal/LocationInternal.ts +7 -0
- package/src/HyperTrack/data_types/internal/LocationWithDeviationInternal.ts +9 -0
- package/src/index.tsx +7 -2
- package/android/src/main/java/com/reactnativehypertracksdk/common/Geotag.kt +0 -9
- package/lib/commonjs/HyperTrack/data_types/internal/Geotag.js +0 -2
- package/lib/commonjs/HyperTrack/data_types/internal/Geotag.js.map +0 -1
- package/lib/commonjs/HyperTrack/data_types/internal/LocationResponse.js.map +0 -1
- package/lib/module/HyperTrack/data_types/internal/Geotag.js +0 -2
- package/lib/module/HyperTrack/data_types/internal/Geotag.js.map +0 -1
- package/lib/module/HyperTrack/data_types/internal/LocationResponse.js +0 -2
- package/lib/module/HyperTrack/data_types/internal/LocationResponse.js.map +0 -1
- package/lib/typescript/HyperTrack/data_types/internal/Geotag.d.ts +0 -3
- package/lib/typescript/HyperTrack/data_types/internal/LocationResponse.d.ts +0 -11
- package/src/HyperTrack/data_types/internal/Geotag.ts +0 -3
- package/src/HyperTrack/data_types/internal/LocationResponse.ts +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,19 +3,44 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [9.2.2] - 2023-06-01
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Updated HyperTrack iOS SDK to 4.16.0
|
|
11
|
+
|
|
12
|
+
## [9.2.1] - 2023-05-19
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Fixed `addGeotag` (with expected location) return type
|
|
17
|
+
|
|
18
|
+
## [9.2.0] - 2023-05-18
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `addGeotag` with expected location
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- HyperTrack iOS SDK updated to 4.15.0
|
|
27
|
+
|
|
6
28
|
## [9.1.1] - 2023-03-30
|
|
7
29
|
|
|
8
30
|
### Fixed
|
|
31
|
+
|
|
9
32
|
- Removed types re-export to fix issues with some build configurations
|
|
10
33
|
|
|
11
34
|
## [9.1.0] - 2023-03-21
|
|
12
35
|
|
|
13
36
|
### Added
|
|
37
|
+
|
|
14
38
|
- `automaticallyRequestPermissions` param to `initialize()`
|
|
15
39
|
|
|
16
40
|
## [9.0.0] - 2023-02-17
|
|
17
41
|
|
|
18
42
|
### Changed
|
|
43
|
+
|
|
19
44
|
- Updated HyperTrack iOS SDK to 4.14.0
|
|
20
45
|
- Updated HyperTrack Android SDK to 6.4.0
|
|
21
46
|
- `createInstance()` renamed to `initialize()`
|
|
@@ -26,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
26
51
|
- `LocationError` now has different structure
|
|
27
52
|
|
|
28
53
|
### Added
|
|
54
|
+
|
|
29
55
|
- `initialize()` configuration params for
|
|
30
56
|
- Debug logging
|
|
31
57
|
- Background location permissions request for Android
|
|
@@ -33,169 +59,250 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
33
59
|
- `subscribeToAvailability()`
|
|
34
60
|
|
|
35
61
|
### Removed
|
|
62
|
+
|
|
36
63
|
- `automaticallyRequestPermissions` param from `initialize()`
|
|
37
64
|
- `enableDebugLogging()` (use `initialize()` param `loggingEnabled` istead)
|
|
38
65
|
- `setTripMarker()` (use `addGeotag` instead)
|
|
39
66
|
|
|
40
67
|
## [8.2.2] - 2022-10-10
|
|
68
|
+
|
|
41
69
|
### Fixed
|
|
70
|
+
|
|
42
71
|
- Deployment target for iOS changed to 11, to comply with native iOS SDK.
|
|
43
72
|
|
|
44
73
|
## [8.2.1] - 2022-09-27
|
|
74
|
+
|
|
45
75
|
### Fixed
|
|
76
|
+
|
|
46
77
|
- enableDebugLogging() now doesn't cause an infinite loop when called.
|
|
47
78
|
|
|
48
79
|
## [8.2.0] - 2022-09-23
|
|
80
|
+
|
|
49
81
|
### Changed
|
|
82
|
+
|
|
50
83
|
- Updated Android SDK to 6.3.0 and iOS SDK to 4.13.0
|
|
51
84
|
- When the Android app is uninstalled completely from the device and then installed back, the device_id will change. This improves the stability of the data coming from the SDK. Now this behavior is the same between Android SDK and iOS SDK.
|
|
52
85
|
- If the user simulates locations when it's prohibited, the SDK still passes real locations through if there are any.
|
|
53
86
|
- Decreased the time sensitivity for first location detection. Results in fewer `location_unavailable` outages when tracking starts on Android.
|
|
54
87
|
|
|
55
88
|
### Fixed
|
|
89
|
+
|
|
56
90
|
- Now, all logs in Android SDK are disabled by default and can be enabled by enableDebugLogging()
|
|
57
91
|
|
|
58
92
|
## [8.1.0] - 2022-08-30
|
|
93
|
+
|
|
59
94
|
### Changed
|
|
95
|
+
|
|
60
96
|
- Updated Android SDK to 6.2.2 that is compabible with any native library (React Native C++) and reduces the SDK size too. SDK should now add only 4MB to the compressed app's size, when downloaded from Google Play instead of 17 MB on 8.0.0.
|
|
61
97
|
|
|
62
98
|
## [8.0.0] - 2022-08-05
|
|
99
|
+
|
|
63
100
|
### Added
|
|
101
|
+
|
|
64
102
|
- New interface for listeners.
|
|
65
103
|
- Reference documentation.
|
|
66
104
|
- TypeScript support.
|
|
105
|
+
|
|
67
106
|
### Changed
|
|
107
|
+
|
|
68
108
|
- Updated React Native from 0.63.3 to 0.69.1
|
|
69
109
|
|
|
70
110
|
## [7.19.1] - 2022-07-27
|
|
111
|
+
|
|
71
112
|
### Fixed
|
|
113
|
+
|
|
72
114
|
- Fixed React Native C++ incompatibility issue with Android SDK 6.2.0
|
|
73
115
|
|
|
74
116
|
## [7.19.0] - 2022-07-18
|
|
117
|
+
|
|
75
118
|
### Changed
|
|
119
|
+
|
|
76
120
|
- Updated HyperTrack Android SDK to 6.2.0 and iOS SDK to 4.12.4
|
|
77
121
|
|
|
78
122
|
## [7.18.4] - 2022-06-15
|
|
123
|
+
|
|
79
124
|
### Changed
|
|
125
|
+
|
|
80
126
|
- Updated HyperTrack Android SDK to 6.1.4
|
|
81
127
|
|
|
82
128
|
## [7.18.3] - 2022-06-15
|
|
129
|
+
|
|
83
130
|
### Changed
|
|
131
|
+
|
|
84
132
|
- Updated HyperTrack Android SDK to 6.1.3
|
|
85
133
|
|
|
86
134
|
## [7.18.2] - 2022-06-13
|
|
135
|
+
|
|
87
136
|
### Changed
|
|
137
|
+
|
|
88
138
|
- Updated HyperTrack iOS SDK to 4.12.3
|
|
89
139
|
|
|
90
140
|
## [7.18.1] - 2022-06-10
|
|
141
|
+
|
|
91
142
|
### Changed
|
|
143
|
+
|
|
92
144
|
- Updated HyperTrack iOS SDK to 4.12.1 to fix a regression in tracking listener
|
|
93
145
|
|
|
94
146
|
## [7.18.0] - 2022-06-09
|
|
147
|
+
|
|
95
148
|
### Changed
|
|
149
|
+
|
|
96
150
|
- Updated HyperTrack Android SDK to 6.1.2 and iOS SDK to 4.12.0
|
|
97
151
|
|
|
98
152
|
## [7.17.0] - 2022-06-03
|
|
153
|
+
|
|
99
154
|
### Changed
|
|
155
|
+
|
|
100
156
|
- Updated HyperTrack Android SDK to 6.1.1
|
|
101
157
|
|
|
102
158
|
## [7.16.0] - 2022-05-03
|
|
159
|
+
|
|
103
160
|
### Changed
|
|
161
|
+
|
|
104
162
|
- Updated HyperTrack Android SDK to [6.0.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#604---2022-04-29)
|
|
105
163
|
|
|
106
164
|
## [7.16.0] - 2022-05-03
|
|
165
|
+
|
|
107
166
|
### Changed
|
|
167
|
+
|
|
108
168
|
- Updated HyperTrack Android SDK to [6.0.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#604---2022-04-29)
|
|
109
169
|
|
|
110
170
|
## [7.15.0] - 2022-04-29
|
|
171
|
+
|
|
111
172
|
### Added
|
|
173
|
+
|
|
112
174
|
- Current location getter returns either the current location of the device or an outage reason for why current location is unavailable.
|
|
113
175
|
|
|
114
176
|
## [7.14.0] - 2022-03-24
|
|
177
|
+
|
|
115
178
|
### Changed
|
|
179
|
+
|
|
116
180
|
- Updated HyperTrack Android SDK to [6.0.2](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#602---2022-03-18)
|
|
117
181
|
|
|
118
182
|
## [7.13.0] - 2022-01-05
|
|
183
|
+
|
|
119
184
|
### Changed
|
|
185
|
+
|
|
120
186
|
- Updated iOS SDK to [4.9.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#490---2022-01-05)
|
|
121
187
|
|
|
122
188
|
## [7.12.1] - 2021-11-11
|
|
189
|
+
|
|
123
190
|
### Changed
|
|
191
|
+
|
|
124
192
|
- Updated Android SDK to [5.4.5](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#545---2021-11-05)
|
|
125
193
|
|
|
126
194
|
## [7.12.0] - 2021-10-29
|
|
195
|
+
|
|
127
196
|
### Changed
|
|
197
|
+
|
|
128
198
|
- Updated Android SDK to [5.4.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#544---2021-10-29)
|
|
129
199
|
|
|
130
200
|
## [7.11.0] - 2021-10-28
|
|
201
|
+
|
|
131
202
|
### Changed
|
|
203
|
+
|
|
132
204
|
- Updated Android SDK to [5.4.3](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#543---2021-09-01)
|
|
133
205
|
|
|
134
206
|
## [7.10.0] - 2021-08-04
|
|
207
|
+
|
|
135
208
|
### Changed
|
|
209
|
+
|
|
136
210
|
- Updated Android SDK to [5.4.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#540---2021-08-04)
|
|
137
211
|
|
|
138
212
|
## [7.9.0] - 2021-07-07
|
|
213
|
+
|
|
139
214
|
### Changed
|
|
215
|
+
|
|
140
216
|
- Updated Android SDK to [v5.2.5](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#525---2021-07-02)
|
|
141
217
|
|
|
142
218
|
## [7.8.1] - 2021-06-11
|
|
219
|
+
|
|
143
220
|
### Fixed
|
|
221
|
+
|
|
144
222
|
- Accidently removed import added back.
|
|
145
223
|
|
|
146
224
|
## [7.8.0] - 2021-06-11
|
|
225
|
+
|
|
147
226
|
### Changed
|
|
227
|
+
|
|
148
228
|
- Updated Android SDK to [v5.2.2](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#522---2021-06-11)
|
|
149
229
|
|
|
150
230
|
## [7.7.0] - 2021-05-29
|
|
231
|
+
|
|
151
232
|
### Changed
|
|
233
|
+
|
|
152
234
|
- Updated Android SDK to [v5.1.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#510---2021-05-28)
|
|
153
235
|
|
|
154
236
|
## [7.6.0] - 2021-05-07
|
|
237
|
+
|
|
155
238
|
### Changed
|
|
239
|
+
|
|
156
240
|
- Updated Android SDK to [v4.12.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4120---2021-05-07)
|
|
157
241
|
|
|
158
242
|
## [7.5.0] - 2021-04-26
|
|
243
|
+
|
|
159
244
|
### Changed
|
|
245
|
+
|
|
160
246
|
- Updated iOS SDK to [4.8.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#480---2021-04-22)
|
|
161
247
|
- Updated Android SDK to [v4.11.1](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4111---2021-04-20)
|
|
162
248
|
|
|
163
249
|
## [7.4.0] - 2021-04-02
|
|
250
|
+
|
|
164
251
|
### Changed
|
|
252
|
+
|
|
165
253
|
- Updated Android SDK to [v4.11.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4110---2021-03-30)
|
|
254
|
+
|
|
166
255
|
### Fixed
|
|
256
|
+
|
|
167
257
|
- SDK won't navigate to Settings showing "Select `Allow Always` option" snackbar on Android 11 and later.
|
|
168
258
|
|
|
169
259
|
## [7.3.0] - 2021-03-04
|
|
260
|
+
|
|
170
261
|
### Changed
|
|
262
|
+
|
|
171
263
|
- Updated Android SDK to [v4.10.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4100---2021-02-22)
|
|
172
264
|
|
|
173
265
|
## [7.2.0] - 2020-12-23
|
|
266
|
+
|
|
174
267
|
### Changed
|
|
268
|
+
|
|
175
269
|
- Updated iOS SDK to [v4.7.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#470---2020-12-23)
|
|
270
|
+
|
|
176
271
|
### Fixed
|
|
272
|
+
|
|
177
273
|
- iOS plugin runtime error notification.
|
|
178
274
|
|
|
179
275
|
## [7.1.0] - 2020-11-17
|
|
276
|
+
|
|
180
277
|
### Changed
|
|
278
|
+
|
|
181
279
|
- Updated Anroid SDK to [v4.8.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#480---2020-10-30)
|
|
182
280
|
- Updated iOS SDK to [v4.6.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#460---2020-11-09)
|
|
183
281
|
- Using React-Core on iOS (https://github.com/hypertrack/sdk-react-native/pull/19)
|
|
184
282
|
|
|
185
283
|
## [7.0.1] - 2020-10-07
|
|
284
|
+
|
|
186
285
|
### Fixed
|
|
286
|
+
|
|
187
287
|
- Added `hypertrack-sdk-react-native.podspec` to `package.json` file.
|
|
288
|
+
|
|
188
289
|
### Changed
|
|
290
|
+
|
|
189
291
|
- Updated iOS SDK to `4.5.1`.
|
|
190
292
|
|
|
191
293
|
## [7.0.0] - 2020-10-02
|
|
294
|
+
|
|
192
295
|
### Changed
|
|
296
|
+
|
|
193
297
|
- Updated react-native to version `0.63.3`.
|
|
194
298
|
- Updated Android SDK to `4.6.0`.
|
|
299
|
+
|
|
195
300
|
### Removed
|
|
301
|
+
|
|
196
302
|
- Remove startsTracking API from createInstance.
|
|
197
303
|
|
|
198
304
|
### API Diff
|
|
305
|
+
|
|
199
306
|
```diff
|
|
200
307
|
/**
|
|
201
308
|
* Initialize the HyperTrack SDK
|
|
@@ -212,28 +319,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
212
319
|
```
|
|
213
320
|
|
|
214
321
|
## [6.6.0] - 2020-07-24
|
|
322
|
+
|
|
215
323
|
### Changed
|
|
324
|
+
|
|
216
325
|
- Updated react-native to version `0.61.4`.
|
|
217
326
|
- Updated Android SDK to `4.5.2`.
|
|
218
327
|
|
|
219
328
|
## [6.5.1] - 2020-07-20
|
|
329
|
+
|
|
220
330
|
### Changed
|
|
331
|
+
|
|
221
332
|
- Updated Android SDK to `4.5.1`.
|
|
222
333
|
|
|
223
334
|
## [6.5.0] - 2020-07-16
|
|
335
|
+
|
|
224
336
|
### Changed
|
|
337
|
+
|
|
225
338
|
- Updated Android SDK to `4.5.0`.
|
|
226
339
|
|
|
227
340
|
## [6.4.0] - 2020-07-14
|
|
341
|
+
|
|
228
342
|
### Added
|
|
343
|
+
|
|
229
344
|
- Only send events when there are listeners in iOS wrapper.
|
|
345
|
+
|
|
230
346
|
### Changed
|
|
347
|
+
|
|
231
348
|
- Reject promise properly and with error code during iOS initialization.
|
|
349
|
+
|
|
232
350
|
### Fixed
|
|
351
|
+
|
|
233
352
|
- Fixed regression where syncDeviceSettings was removed from iOS SDK wrapper.
|
|
234
353
|
|
|
235
354
|
## [6.3.0] - 2020-07-13
|
|
355
|
+
|
|
236
356
|
### Changed
|
|
357
|
+
|
|
237
358
|
- Control permission dialogs on iOS.
|
|
238
359
|
|
|
239
360
|
### API Diff
|
|
@@ -255,57 +376,83 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
255
376
|
```
|
|
256
377
|
|
|
257
378
|
## [6.2.2] - 2020-04-14
|
|
379
|
+
|
|
258
380
|
### Changed
|
|
381
|
+
|
|
259
382
|
- Updated Android dependency repos.
|
|
260
383
|
|
|
261
384
|
## [6.2.1] - 2020-01-08
|
|
385
|
+
|
|
262
386
|
### Added
|
|
387
|
+
|
|
263
388
|
- RN SDK wrapper now supports native iOS `4.0.x` SDK.
|
|
264
389
|
|
|
265
390
|
## [6.1.0] - 2019-09-30
|
|
391
|
+
|
|
266
392
|
### Added
|
|
393
|
+
|
|
267
394
|
- Adding sync device settings
|
|
268
|
-
- Updated Android SDK to
|
|
395
|
+
- Updated Android SDK to `3.4.7`.
|
|
269
396
|
|
|
270
397
|
## [6.0.0] - 2019-09-17
|
|
398
|
+
|
|
271
399
|
### Changed
|
|
400
|
+
|
|
272
401
|
- Updated interface with promises and split name and metadata
|
|
273
402
|
- Updated react-native to version `0.59.9`.
|
|
274
403
|
|
|
275
404
|
## [5.0.5] - 2019-08-29
|
|
405
|
+
|
|
276
406
|
### Changed
|
|
277
|
-
|
|
407
|
+
|
|
408
|
+
- Updated Android SDK to `3.4.5`.
|
|
278
409
|
|
|
279
410
|
## [5.0.4] - 2019-08-23
|
|
411
|
+
|
|
280
412
|
### Changed
|
|
413
|
+
|
|
281
414
|
- Updated Android SDK to `3.3.4` and stop tracking events.
|
|
282
415
|
|
|
283
416
|
## [5.0.3] - 2019-08-22
|
|
417
|
+
|
|
284
418
|
### Added
|
|
419
|
+
|
|
285
420
|
- Make deviceID change with publishable key.
|
|
286
421
|
|
|
287
422
|
## [5.0.2] - 2019-08-15
|
|
423
|
+
|
|
288
424
|
### Fixed
|
|
425
|
+
|
|
289
426
|
- Fixed Android wrapper permissions handling in initialize and startTracking.
|
|
290
427
|
|
|
291
428
|
## [5.0.1] - 2019-08-15
|
|
429
|
+
|
|
292
430
|
### Added
|
|
431
|
+
|
|
293
432
|
- Expose critical errors and update the integration.
|
|
294
433
|
|
|
295
434
|
## [4.1.1] - 2019-08-08
|
|
435
|
+
|
|
296
436
|
### Changed
|
|
437
|
+
|
|
297
438
|
- Bump Android SDK version to `3.3.1`.
|
|
298
439
|
|
|
299
440
|
## [4.1.0] - 2019-08-07
|
|
441
|
+
|
|
300
442
|
### Changed
|
|
443
|
+
|
|
301
444
|
- Make `getDeviceID` consistent between Android and iOS wrappers.
|
|
302
445
|
|
|
303
446
|
## [4.0.2] - 2019-08-06
|
|
447
|
+
|
|
304
448
|
### Fixed
|
|
449
|
+
|
|
305
450
|
- Fixed null context exception in Android wrapper.
|
|
306
451
|
|
|
307
452
|
## [4.0.1] - 2019-07-29
|
|
453
|
+
|
|
308
454
|
### Added
|
|
455
|
+
|
|
309
456
|
- Added an option to start tracking right after initialization.
|
|
310
457
|
|
|
311
458
|
### API Diff
|
|
@@ -323,27 +470,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
323
470
|
```
|
|
324
471
|
|
|
325
472
|
## [3.0.0] - 2019-07-23
|
|
473
|
+
|
|
326
474
|
### Added
|
|
475
|
+
|
|
327
476
|
- Backups key for Android SDK
|
|
477
|
+
|
|
328
478
|
### Changed
|
|
479
|
+
|
|
329
480
|
- Bump Android SDK version to 3.3.0 and switch to trip markers for native calls.
|
|
330
481
|
|
|
331
482
|
## [2.0.0] - 2019-07-17
|
|
483
|
+
|
|
332
484
|
### Deprecated
|
|
485
|
+
|
|
333
486
|
- `sendCustomEvent` was renamed to `setTripMarker`.
|
|
334
487
|
|
|
335
488
|
## [1.0.2] - 2019-07-04
|
|
489
|
+
|
|
336
490
|
### Added
|
|
491
|
+
|
|
337
492
|
- Added silent push notifications.
|
|
338
493
|
|
|
339
494
|
## [1.0.1] - 2019-06-26
|
|
495
|
+
|
|
340
496
|
### Added
|
|
497
|
+
|
|
341
498
|
- Added HyperTrack repository to repos list.
|
|
342
499
|
|
|
343
500
|
## [1.0.0] - 2019-06-07
|
|
344
|
-
Initial release.
|
|
345
501
|
|
|
502
|
+
Initial release.
|
|
346
503
|
|
|
504
|
+
[9.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.2
|
|
505
|
+
[9.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.1
|
|
506
|
+
[9.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.0
|
|
507
|
+
[9.1.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.1
|
|
508
|
+
[9.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.0
|
|
509
|
+
[9.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.0.0
|
|
347
510
|
[8.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.2
|
|
348
511
|
[8.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.1
|
|
349
512
|
[8.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.0
|
package/CONTRIBUTING.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
### How to update the HyperTrack SDK version and make a release?
|
|
6
6
|
|
|
7
7
|
1. Update SDK version constant
|
|
8
|
+
|
|
8
9
|
- android
|
|
9
10
|
- android/gradle.properties - HyperTrackSdk_HyperTrackSDKVersion
|
|
10
11
|
- ios
|
|
@@ -12,18 +13,21 @@
|
|
|
12
13
|
- s.dependency 'HyperTrack/Objective-C', '**version**'
|
|
13
14
|
|
|
14
15
|
2. Increment wrapper version
|
|
15
|
-
|
|
16
|
+
|
|
16
17
|
- package.json
|
|
17
18
|
- version
|
|
18
|
-
|
|
19
|
+
|
|
19
20
|
3. Update CHANGELOG.md
|
|
21
|
+
|
|
22
|
+
- Add the release link to the bottom
|
|
23
|
+
|
|
20
24
|
4. Update badge in README.md
|
|
21
25
|
5. Do the release dry run with `just release` and verify that the release is correct (checklist is in the command output)
|
|
22
26
|
6. Commit and merge to master
|
|
23
27
|
7. Create and push a new version tag
|
|
24
|
-
8.
|
|
25
|
-
9. Create a Github repo release
|
|
28
|
+
8. Create a Github repo release
|
|
26
29
|
- Release title should be the current version tag
|
|
30
|
+
9. Run `npm publish` to publish the package to npm
|
|
27
31
|
|
|
28
32
|
### How to change build config
|
|
29
33
|
|
|
@@ -71,4 +75,3 @@ When you're sending a pull request:
|
|
|
71
75
|
- Review the documentation to make sure it looks good.
|
|
72
76
|
- Follow the pull request template when opening a pull request.
|
|
73
77
|
- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue.
|
|
74
|
-
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# React Native HyperTrack SDK
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-

|
|
4
|
+

|
|
5
|
+

|
|
6
6
|

|
|
7
7
|
|
|
8
8
|
[HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons.
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
+
<component name="GradleSettings">
|
|
5
|
+
<option name="linkedExternalProjectsSettings">
|
|
6
|
+
<GradleProjectSettings>
|
|
7
|
+
<option name="testRunner" value="GRADLE" />
|
|
8
|
+
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
+
<option name="gradleHome" value="/usr/local/Cellar/gradle/8.0.2/libexec" />
|
|
11
|
+
<option name="modules">
|
|
12
|
+
<set>
|
|
13
|
+
<option value="$PROJECT_DIR$" />
|
|
14
|
+
</set>
|
|
15
|
+
</option>
|
|
16
|
+
</GradleProjectSettings>
|
|
17
|
+
</option>
|
|
18
|
+
</component>
|
|
19
|
+
</project>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
+
<remote-repository>
|
|
5
|
+
<option name="id" value="central" />
|
|
6
|
+
<option name="name" value="Maven Central repository" />
|
|
7
|
+
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
+
</remote-repository>
|
|
9
|
+
<remote-repository>
|
|
10
|
+
<option name="id" value="jboss.community" />
|
|
11
|
+
<option name="name" value="JBoss Community repository" />
|
|
12
|
+
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
+
</remote-repository>
|
|
14
|
+
<remote-repository>
|
|
15
|
+
<option name="id" value="MavenRepo" />
|
|
16
|
+
<option name="name" value="MavenRepo" />
|
|
17
|
+
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
|
18
|
+
</remote-repository>
|
|
19
|
+
<remote-repository>
|
|
20
|
+
<option name="id" value="React Native sources" />
|
|
21
|
+
<option name="name" value="React Native sources" />
|
|
22
|
+
<option name="url" value="file:$PROJECT_DIR$/../node_modules/react-native/android/" />
|
|
23
|
+
</remote-repository>
|
|
24
|
+
<remote-repository>
|
|
25
|
+
<option name="id" value="hypertrack" />
|
|
26
|
+
<option name="name" value="hypertrack" />
|
|
27
|
+
<option name="url" value="https://s3-us-west-2.amazonaws.com/m2.hypertrack.com/" />
|
|
28
|
+
</remote-repository>
|
|
29
|
+
<remote-repository>
|
|
30
|
+
<option name="id" value="Google" />
|
|
31
|
+
<option name="name" value="Google" />
|
|
32
|
+
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
33
|
+
</remote-repository>
|
|
34
|
+
</component>
|
|
35
|
+
</project>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<project version="4">
|
|
2
|
+
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="zulu-11" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectType">
|
|
7
|
+
<option name="id" value="Android" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
+
# as it contains information specific to your local configuration.
|
|
3
|
+
#
|
|
4
|
+
# Location of the SDK. This is only used by Gradle.
|
|
5
|
+
# For customization when using a Version Control System, please read the
|
|
6
|
+
# header note.
|
|
7
|
+
#Thu Apr 13 16:52:01 EEST 2023
|
|
8
|
+
sdk.dir=/Users/spqrta/Library/Android/sdk
|