hypertrack-sdk-react-native 11.0.10 → 12.0.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/README.md +2 -39
- package/android/build.gradle +0 -2
- package/android/gradle.properties +1 -1
- package/hypertrack-sdk-react-native.podspec +1 -1
- package/lib/commonjs/HyperTrack/HyperTrack.js +6 -8
- package/lib/commonjs/HyperTrack/HyperTrack.js.map +1 -1
- package/lib/commonjs/HyperTrack/data_types/HyperTrackError.js +1 -2
- package/lib/commonjs/HyperTrack/data_types/HyperTrackError.js.map +1 -1
- package/lib/commonjs/index.js +1 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/HyperTrack/HyperTrack.js +6 -8
- package/lib/module/HyperTrack/HyperTrack.js.map +1 -1
- package/lib/typescript/HyperTrack/HyperTrack.d.ts +2 -1
- package/package.json +10 -6
- package/src/HyperTrack/HyperTrack.ts +2 -1
- package/CHANGELOG.md +0 -724
- package/CONTRIBUTING.md +0 -77
- package/LICENSE +0 -21
- package/android/.gradle/7.2/fileChanges/last-build.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/checksums/checksums.lock +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
package/CHANGELOG.md
DELETED
|
@@ -1,724 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
-
|
|
6
|
-
## [11.0.10] - 2023-11-20
|
|
7
|
-
|
|
8
|
-
### Changed
|
|
9
|
-
|
|
10
|
-
- Updated HyperTrack Android SDK to [7.0.9](https://github.com/hypertrack/sdk-android/releases/tag/7.0.9)
|
|
11
|
-
- Updated HyperTrack iOS SDK to [5.0.7](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.7)
|
|
12
|
-
|
|
13
|
-
## [11.0.9] - 2023-11-10
|
|
14
|
-
|
|
15
|
-
### Changed
|
|
16
|
-
|
|
17
|
-
- Updated HyperTrack Android SDK to [7.0.8](https://github.com/hypertrack/sdk-android/releases/tag/7.0.8)
|
|
18
|
-
- Updated HyperTrack iOS SDK to [5.0.6](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.6)
|
|
19
|
-
|
|
20
|
-
## [11.0.8] - 2023-11-08
|
|
21
|
-
|
|
22
|
-
### Changed
|
|
23
|
-
|
|
24
|
-
- Updated HyperTrack Android SDK to [7.0.7](https://github.com/hypertrack/sdk-android/releases/tag/7.0.7)
|
|
25
|
-
- Updated HyperTrack iOS SDK to [5.0.5](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.5)
|
|
26
|
-
|
|
27
|
-
## [11.0.7] - 2023-10-19
|
|
28
|
-
|
|
29
|
-
### Fixed
|
|
30
|
-
|
|
31
|
-
- Lazily initialize event listener subscriptions
|
|
32
|
-
|
|
33
|
-
## [11.0.6] - 2023-10-12
|
|
34
|
-
|
|
35
|
-
### Changed
|
|
36
|
-
|
|
37
|
-
- Updated HyperTrack iOS SDK to [5.0.4](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.3)
|
|
38
|
-
|
|
39
|
-
## [11.0.5] - 2023-10-10
|
|
40
|
-
|
|
41
|
-
### Changed
|
|
42
|
-
|
|
43
|
-
- Updated HyperTrack Android SDK to [7.0.6](https://github.com/hypertrack/sdk-android/releases/tag/7.0.6)
|
|
44
|
-
- Updated HyperTrack iOS SDK to [5.0.3](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.3)
|
|
45
|
-
|
|
46
|
-
## [11.0.4] - 2023-10-06
|
|
47
|
-
|
|
48
|
-
### Changed
|
|
49
|
-
|
|
50
|
-
- Updated HyperTrack Android SDK to [7.0.5](https://github.com/hypertrack/sdk-android/releases/tag/7.0.5)
|
|
51
|
-
|
|
52
|
-
## [11.0.3] - 2023-10-04
|
|
53
|
-
|
|
54
|
-
### Changed
|
|
55
|
-
|
|
56
|
-
- Updated HyperTrack Android SDK to [7.0.4](https://github.com/hypertrack/sdk-android/releases/tag/7.0.4)
|
|
57
|
-
|
|
58
|
-
## [11.0.2] - 2023-09-28
|
|
59
|
-
|
|
60
|
-
### Changed
|
|
61
|
-
|
|
62
|
-
- Updated HyperTrack Android SDK to [7.0.3](https://github.com/hypertrack/sdk-android/releases/tag/7.0.3)
|
|
63
|
-
- Updated HyperTrack iOS SDK to [5.0.2](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.2)
|
|
64
|
-
|
|
65
|
-
## [11.0.1] - 2023-09-20
|
|
66
|
-
|
|
67
|
-
### Fixed
|
|
68
|
-
|
|
69
|
-
- Fixed setting wrong object format for `setMetadata()`
|
|
70
|
-
|
|
71
|
-
## [11.0.0] - 2023-09-14
|
|
72
|
-
|
|
73
|
-
### Added
|
|
74
|
-
|
|
75
|
-
- `locate()` to ask for one-time user location
|
|
76
|
-
- `subscribeToLocation()` to subscribe to user location updates
|
|
77
|
-
- `getErrors()`
|
|
78
|
-
- `getName()`
|
|
79
|
-
- `getMetadata()`
|
|
80
|
-
- HyperTrackError types:
|
|
81
|
-
- `noExemptionFromBackgroundStartRestrictions`
|
|
82
|
-
- `permissionsNotificationsDenied`
|
|
83
|
-
|
|
84
|
-
### Changed
|
|
85
|
-
|
|
86
|
-
- Updated HyperTrack Android SDK to [7.0.1](https://github.com/hypertrack/sdk-android/releases/tag/7.0.1)
|
|
87
|
-
- Add Android SDK plugins (`location-services-google-19-0-1` and `push-service-firebase`)
|
|
88
|
-
- Updated HyperTrack iOS SDK to [5.0.1](https://github.com/hypertrack/sdk-ios/releases/tag/5.0.2)
|
|
89
|
-
- The whole HyperTrack API is now static
|
|
90
|
-
- Changed the way to provide publishableKey (you need to add `HyperTrackPublishableKey` `meta-data` item to your `AndroidManifest.xml`)
|
|
91
|
-
- Renamed HyperTrackError types:
|
|
92
|
-
- `gpsSignalLost` to `locationSignalLost`
|
|
93
|
-
- `locationPermissionsDenied` to `permissionsLocationDenied`
|
|
94
|
-
- `locationPermissionsInsufficientForBackground` to `permissionsLocationInsufficientForBackground`
|
|
95
|
-
- `locationPermissionsNotDetermined` to `permissionsLocationNotDetermined`
|
|
96
|
-
- `locationPermissionsProvisional` to `locationPermissionsProvisional`
|
|
97
|
-
- `locationPermissionsReducedAccuracy` to `permissionsLocationReducedAccuracy`
|
|
98
|
-
- `locationPermissionsRestricted` to `permissionsLocationRestricted`
|
|
99
|
-
- Renamed `isAvailable()` to `getIsAvailable()`
|
|
100
|
-
- Renamed `isTracking()` to `getIsTracking()`
|
|
101
|
-
- Renamed `setAvailability()` to `setIsAvailable(boolean)`
|
|
102
|
-
- Changed `startTracking()` and `stopTracking()` to `setIsTracking(boolean)`
|
|
103
|
-
- Renamed `subscribeToTracking()` to `subscribeToIsTracking()`
|
|
104
|
-
- Renamed `subscribeToAvailability()` to `subscribeToIsAvailable()`
|
|
105
|
-
|
|
106
|
-
### Removed
|
|
107
|
-
|
|
108
|
-
- `initialize()` method (the API is now static)
|
|
109
|
-
- `SdkInitParams` (the config now should be done with the `AndroidManifest` metadata and `Info.plist`)
|
|
110
|
-
- Motion Activity permissions are not required for tracking anymore
|
|
111
|
-
- HyperTrackError types:
|
|
112
|
-
- `motionActivityPermissionsDenied`
|
|
113
|
-
- `motionActivityServicesDisabled`
|
|
114
|
-
- `motionActivityServicesUnavailable`
|
|
115
|
-
- `motionActivityPermissionsRestricted`
|
|
116
|
-
- `networkConnectionUnavailable`
|
|
117
|
-
- `sync()` method
|
|
118
|
-
|
|
119
|
-
## [10.0.3] - 2023-08-04
|
|
120
|
-
|
|
121
|
-
### Fixed
|
|
122
|
-
|
|
123
|
-
- Propagating Android exception stacktrace to JS API
|
|
124
|
-
|
|
125
|
-
## [10.0.2] - 2023-06-16
|
|
126
|
-
|
|
127
|
-
### Changed
|
|
128
|
-
|
|
129
|
-
- Updated HyperTrack iOS SDK to 4.16.1
|
|
130
|
-
|
|
131
|
-
## [10.0.1] - 2023-06-13
|
|
132
|
-
|
|
133
|
-
### Changed
|
|
134
|
-
|
|
135
|
-
- Updated HyperTrack Android SDK to 6.4.2
|
|
136
|
-
|
|
137
|
-
## [10.0.0] - 2023-06-06
|
|
138
|
-
|
|
139
|
-
### Changed
|
|
140
|
-
|
|
141
|
-
- Updated HyperTrack Android SDK to 6.4.1
|
|
142
|
-
- `getLocation` return type to `Result<Location, LocationError>`
|
|
143
|
-
|
|
144
|
-
### Fixed
|
|
145
|
-
|
|
146
|
-
- `addGeotag` and `getLocation` wrong return type that is different from the one in the API docs (introduced in 9.2.0)
|
|
147
|
-
|
|
148
|
-
## [9.2.2] - 2023-06-01
|
|
149
|
-
|
|
150
|
-
### Changed
|
|
151
|
-
|
|
152
|
-
- Updated HyperTrack iOS SDK to 4.16.0
|
|
153
|
-
|
|
154
|
-
## [9.2.1] - 2023-05-19
|
|
155
|
-
|
|
156
|
-
### Fixed
|
|
157
|
-
|
|
158
|
-
- Fixed `addGeotag` (with expected location) return type
|
|
159
|
-
|
|
160
|
-
## [9.2.0] - 2023-05-18
|
|
161
|
-
|
|
162
|
-
### Changed
|
|
163
|
-
|
|
164
|
-
- **Breaking change:** Changed `addGeotag` return type to `Result<Location, LocationError>`
|
|
165
|
-
- HyperTrack iOS SDK updated to 4.15.0
|
|
166
|
-
|
|
167
|
-
### Added
|
|
168
|
-
|
|
169
|
-
- `addGeotag` with expected location
|
|
170
|
-
|
|
171
|
-
## [9.1.1] - 2023-03-30
|
|
172
|
-
|
|
173
|
-
### Fixed
|
|
174
|
-
|
|
175
|
-
- Removed types re-export to fix issues with some build configurations
|
|
176
|
-
|
|
177
|
-
## [9.1.0] - 2023-03-21
|
|
178
|
-
|
|
179
|
-
### Added
|
|
180
|
-
|
|
181
|
-
- `automaticallyRequestPermissions` param to `initialize()`
|
|
182
|
-
|
|
183
|
-
## [9.0.0] - 2023-02-17
|
|
184
|
-
|
|
185
|
-
### Changed
|
|
186
|
-
|
|
187
|
-
- Updated HyperTrack iOS SDK to 4.14.0
|
|
188
|
-
- Updated HyperTrack Android SDK to 6.4.0
|
|
189
|
-
- `createInstance()` renamed to `initialize()`
|
|
190
|
-
- `getDeviceID()` renamed to `getDeviceId()`
|
|
191
|
-
- `syncDeviceSettings()` renamed to `sync()`
|
|
192
|
-
- `setDeviceName()` renamed to `setName()`
|
|
193
|
-
- `subscribeToErrors()` callback now has param type (`HyperTrackError`)
|
|
194
|
-
- `getLocation` return type
|
|
195
|
-
- `LocationError` now has different structure
|
|
196
|
-
|
|
197
|
-
### Added
|
|
198
|
-
|
|
199
|
-
- `initialize()` configuration params for
|
|
200
|
-
- Debug logging
|
|
201
|
-
- Background location permissions request for Android
|
|
202
|
-
- Mock locations
|
|
203
|
-
- `subscribeToAvailability()`
|
|
204
|
-
|
|
205
|
-
### Removed
|
|
206
|
-
|
|
207
|
-
- `automaticallyRequestPermissions` param from `initialize()`
|
|
208
|
-
- `enableDebugLogging()` (use `initialize()` param `loggingEnabled` istead)
|
|
209
|
-
- `setTripMarker()` (use `addGeotag` instead)
|
|
210
|
-
|
|
211
|
-
## [8.2.2] - 2022-10-10
|
|
212
|
-
|
|
213
|
-
### Fixed
|
|
214
|
-
|
|
215
|
-
- Deployment target for iOS changed to 11, to comply with native iOS SDK.
|
|
216
|
-
|
|
217
|
-
## [8.2.1] - 2022-09-27
|
|
218
|
-
|
|
219
|
-
### Fixed
|
|
220
|
-
|
|
221
|
-
- `enableDebugLogging()` now doesn't cause an infinite loop when called.
|
|
222
|
-
|
|
223
|
-
## [8.2.0] - 2022-09-23
|
|
224
|
-
|
|
225
|
-
### Changed
|
|
226
|
-
|
|
227
|
-
- Updated Android SDK to 6.3.0 and iOS SDK to 4.13.0
|
|
228
|
-
- 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.
|
|
229
|
-
- If the user simulates locations when it's prohibited, the SDK still passes real locations through if there are any.
|
|
230
|
-
- Decreased the time sensitivity for first location detection. Results in fewer `location_unavailable` outages when tracking starts on Android.
|
|
231
|
-
|
|
232
|
-
### Fixed
|
|
233
|
-
|
|
234
|
-
- Now, all logs in Android SDK are disabled by default and can be enabled by enableDebugLogging()
|
|
235
|
-
|
|
236
|
-
## [8.1.0] - 2022-08-30
|
|
237
|
-
|
|
238
|
-
### Changed
|
|
239
|
-
|
|
240
|
-
- 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.
|
|
241
|
-
|
|
242
|
-
## [8.0.0] - 2022-08-05
|
|
243
|
-
|
|
244
|
-
### Added
|
|
245
|
-
|
|
246
|
-
- New interface for listeners.
|
|
247
|
-
- Reference documentation.
|
|
248
|
-
- TypeScript support.
|
|
249
|
-
|
|
250
|
-
### Changed
|
|
251
|
-
|
|
252
|
-
- Updated React Native from 0.63.3 to 0.69.1
|
|
253
|
-
|
|
254
|
-
## [7.19.1] - 2022-07-27
|
|
255
|
-
|
|
256
|
-
### Fixed
|
|
257
|
-
|
|
258
|
-
- Fixed React Native C++ incompatibility issue with Android SDK 6.2.0
|
|
259
|
-
|
|
260
|
-
## [7.19.0] - 2022-07-18
|
|
261
|
-
|
|
262
|
-
### Changed
|
|
263
|
-
|
|
264
|
-
- Updated HyperTrack Android SDK to 6.2.0 and iOS SDK to 4.12.4
|
|
265
|
-
|
|
266
|
-
## [7.18.4] - 2022-06-15
|
|
267
|
-
|
|
268
|
-
### Changed
|
|
269
|
-
|
|
270
|
-
- Updated HyperTrack Android SDK to 6.1.4
|
|
271
|
-
|
|
272
|
-
## [7.18.3] - 2022-06-15
|
|
273
|
-
|
|
274
|
-
### Changed
|
|
275
|
-
|
|
276
|
-
- Updated HyperTrack Android SDK to 6.1.3
|
|
277
|
-
|
|
278
|
-
## [7.18.2] - 2022-06-13
|
|
279
|
-
|
|
280
|
-
### Changed
|
|
281
|
-
|
|
282
|
-
- Updated HyperTrack iOS SDK to 4.12.3
|
|
283
|
-
|
|
284
|
-
## [7.18.1] - 2022-06-10
|
|
285
|
-
|
|
286
|
-
### Changed
|
|
287
|
-
|
|
288
|
-
- Updated HyperTrack iOS SDK to 4.12.1 to fix a regression in tracking listener
|
|
289
|
-
|
|
290
|
-
## [7.18.0] - 2022-06-09
|
|
291
|
-
|
|
292
|
-
### Changed
|
|
293
|
-
|
|
294
|
-
- Updated HyperTrack Android SDK to 6.1.2 and iOS SDK to 4.12.0
|
|
295
|
-
|
|
296
|
-
## [7.17.0] - 2022-06-03
|
|
297
|
-
|
|
298
|
-
### Changed
|
|
299
|
-
|
|
300
|
-
- Updated HyperTrack Android SDK to 6.1.1
|
|
301
|
-
|
|
302
|
-
## [7.16.0] - 2022-05-03
|
|
303
|
-
|
|
304
|
-
### Changed
|
|
305
|
-
|
|
306
|
-
- Updated HyperTrack Android SDK to [6.0.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#604---2022-04-29)
|
|
307
|
-
|
|
308
|
-
## [7.16.0] - 2022-05-03
|
|
309
|
-
|
|
310
|
-
### Changed
|
|
311
|
-
|
|
312
|
-
- Updated HyperTrack Android SDK to [6.0.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#604---2022-04-29)
|
|
313
|
-
|
|
314
|
-
## [7.15.0] - 2022-04-29
|
|
315
|
-
|
|
316
|
-
### Added
|
|
317
|
-
|
|
318
|
-
- Current location getter returns either the current location of the device or an outage reason for why current location is unavailable.
|
|
319
|
-
|
|
320
|
-
## [7.14.0] - 2022-03-24
|
|
321
|
-
|
|
322
|
-
### Changed
|
|
323
|
-
|
|
324
|
-
- Updated HyperTrack Android SDK to [6.0.2](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#602---2022-03-18)
|
|
325
|
-
|
|
326
|
-
## [7.13.0] - 2022-01-05
|
|
327
|
-
|
|
328
|
-
### Changed
|
|
329
|
-
|
|
330
|
-
- Updated iOS SDK to [4.9.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#490---2022-01-05)
|
|
331
|
-
|
|
332
|
-
## [7.12.1] - 2021-11-11
|
|
333
|
-
|
|
334
|
-
### Changed
|
|
335
|
-
|
|
336
|
-
- Updated Android SDK to [5.4.5](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#545---2021-11-05)
|
|
337
|
-
|
|
338
|
-
## [7.12.0] - 2021-10-29
|
|
339
|
-
|
|
340
|
-
### Changed
|
|
341
|
-
|
|
342
|
-
- Updated Android SDK to [5.4.4](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#544---2021-10-29)
|
|
343
|
-
|
|
344
|
-
## [7.11.0] - 2021-10-28
|
|
345
|
-
|
|
346
|
-
### Changed
|
|
347
|
-
|
|
348
|
-
- Updated Android SDK to [5.4.3](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#543---2021-09-01)
|
|
349
|
-
|
|
350
|
-
## [7.10.0] - 2021-08-04
|
|
351
|
-
|
|
352
|
-
### Changed
|
|
353
|
-
|
|
354
|
-
- Updated Android SDK to [5.4.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#540---2021-08-04)
|
|
355
|
-
|
|
356
|
-
## [7.9.0] - 2021-07-07
|
|
357
|
-
|
|
358
|
-
### Changed
|
|
359
|
-
|
|
360
|
-
- Updated Android SDK to [v5.2.5](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#525---2021-07-02)
|
|
361
|
-
|
|
362
|
-
## [7.8.1] - 2021-06-11
|
|
363
|
-
|
|
364
|
-
### Fixed
|
|
365
|
-
|
|
366
|
-
- Accidently removed import added back.
|
|
367
|
-
|
|
368
|
-
## [7.8.0] - 2021-06-11
|
|
369
|
-
|
|
370
|
-
### Changed
|
|
371
|
-
|
|
372
|
-
- Updated Android SDK to [v5.2.2](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#522---2021-06-11)
|
|
373
|
-
|
|
374
|
-
## [7.7.0] - 2021-05-29
|
|
375
|
-
|
|
376
|
-
### Changed
|
|
377
|
-
|
|
378
|
-
- Updated Android SDK to [v5.1.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#510---2021-05-28)
|
|
379
|
-
|
|
380
|
-
## [7.6.0] - 2021-05-07
|
|
381
|
-
|
|
382
|
-
### Changed
|
|
383
|
-
|
|
384
|
-
- Updated Android SDK to [v4.12.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4120---2021-05-07)
|
|
385
|
-
|
|
386
|
-
## [7.5.0] - 2021-04-26
|
|
387
|
-
|
|
388
|
-
### Changed
|
|
389
|
-
|
|
390
|
-
- Updated iOS SDK to [4.8.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#480---2021-04-22)
|
|
391
|
-
- Updated Android SDK to [v4.11.1](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4111---2021-04-20)
|
|
392
|
-
|
|
393
|
-
## [7.4.0] - 2021-04-02
|
|
394
|
-
|
|
395
|
-
### Changed
|
|
396
|
-
|
|
397
|
-
- Updated Android SDK to [v4.11.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4110---2021-03-30)
|
|
398
|
-
|
|
399
|
-
### Fixed
|
|
400
|
-
|
|
401
|
-
- SDK won't navigate to Settings showing "Select `Allow Always` option" snackbar on Android 11 and later.
|
|
402
|
-
|
|
403
|
-
## [7.3.0] - 2021-03-04
|
|
404
|
-
|
|
405
|
-
### Changed
|
|
406
|
-
|
|
407
|
-
- Updated Android SDK to [v4.10.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#4100---2021-02-22)
|
|
408
|
-
|
|
409
|
-
## [7.2.0] - 2020-12-23
|
|
410
|
-
|
|
411
|
-
### Changed
|
|
412
|
-
|
|
413
|
-
- Updated iOS SDK to [v4.7.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#470---2020-12-23)
|
|
414
|
-
|
|
415
|
-
### Fixed
|
|
416
|
-
|
|
417
|
-
- iOS plugin runtime error notification.
|
|
418
|
-
|
|
419
|
-
## [7.1.0] - 2020-11-17
|
|
420
|
-
|
|
421
|
-
### Changed
|
|
422
|
-
|
|
423
|
-
- Updated Anroid SDK to [v4.8.0](https://github.com/hypertrack/sdk-android/blob/master/CHANGELOG.md#480---2020-10-30)
|
|
424
|
-
- Updated iOS SDK to [v4.6.0](https://github.com/hypertrack/sdk-ios/blob/master/CHANGELOG.md#460---2020-11-09)
|
|
425
|
-
- Using React-Core on iOS (https://github.com/hypertrack/sdk-react-native/pull/19)
|
|
426
|
-
|
|
427
|
-
## [7.0.1] - 2020-10-07
|
|
428
|
-
|
|
429
|
-
### Fixed
|
|
430
|
-
|
|
431
|
-
- Added `hypertrack-sdk-react-native.podspec` to `package.json` file.
|
|
432
|
-
|
|
433
|
-
### Changed
|
|
434
|
-
|
|
435
|
-
- Updated iOS SDK to `4.5.1`.
|
|
436
|
-
|
|
437
|
-
## [7.0.0] - 2020-10-02
|
|
438
|
-
|
|
439
|
-
### Changed
|
|
440
|
-
|
|
441
|
-
- Updated react-native to version `0.63.3`.
|
|
442
|
-
- Updated Android SDK to `4.6.0`.
|
|
443
|
-
|
|
444
|
-
### Removed
|
|
445
|
-
|
|
446
|
-
- Remove startsTracking API from createInstance.
|
|
447
|
-
|
|
448
|
-
### API Diff
|
|
449
|
-
|
|
450
|
-
```diff
|
|
451
|
-
/**
|
|
452
|
-
* Initialize the HyperTrack SDK
|
|
453
|
-
* @param {string} publishableKey - A unique String that is used to identify your account with HyperTrack.
|
|
454
|
-
- * @param {boolean} startsTracking - Should the SDK start tracking immediately after initialization.
|
|
455
|
-
* @param {boolean} automaticallyRequestPermissions - If true, SDK automatically triggers location and motion activity permissions dialogs when tracking starts.
|
|
456
|
-
*/
|
|
457
|
-
- async createInstance(publishableKey, startsTracking = true, automaticallyRequestPermissions = true): Promise<HyperTrackAPI> {
|
|
458
|
-
- await HyperTrack.initialize(publishableKey, startsTracking, automaticallyRequestPermissions);
|
|
459
|
-
+ async createInstance(publishableKey, automaticallyRequestPermissions = true): Promise<HyperTrackAPI> {
|
|
460
|
-
+ await HyperTrack.initialize(publishableKey, false, automaticallyRequestPermissions);
|
|
461
|
-
return new HyperTrackAPI();
|
|
462
|
-
},
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
## [6.6.0] - 2020-07-24
|
|
466
|
-
|
|
467
|
-
### Changed
|
|
468
|
-
|
|
469
|
-
- Updated react-native to version `0.61.4`.
|
|
470
|
-
- Updated Android SDK to `4.5.2`.
|
|
471
|
-
|
|
472
|
-
## [6.5.1] - 2020-07-20
|
|
473
|
-
|
|
474
|
-
### Changed
|
|
475
|
-
|
|
476
|
-
- Updated Android SDK to `4.5.1`.
|
|
477
|
-
|
|
478
|
-
## [6.5.0] - 2020-07-16
|
|
479
|
-
|
|
480
|
-
### Changed
|
|
481
|
-
|
|
482
|
-
- Updated Android SDK to `4.5.0`.
|
|
483
|
-
|
|
484
|
-
## [6.4.0] - 2020-07-14
|
|
485
|
-
|
|
486
|
-
### Added
|
|
487
|
-
|
|
488
|
-
- Only send events when there are listeners in iOS wrapper.
|
|
489
|
-
|
|
490
|
-
### Changed
|
|
491
|
-
|
|
492
|
-
- Reject promise properly and with error code during iOS initialization.
|
|
493
|
-
|
|
494
|
-
### Fixed
|
|
495
|
-
|
|
496
|
-
- Fixed regression where syncDeviceSettings was removed from iOS SDK wrapper.
|
|
497
|
-
|
|
498
|
-
## [6.3.0] - 2020-07-13
|
|
499
|
-
|
|
500
|
-
### Changed
|
|
501
|
-
|
|
502
|
-
- Control permission dialogs on iOS.
|
|
503
|
-
|
|
504
|
-
### API Diff
|
|
505
|
-
|
|
506
|
-
```diff
|
|
507
|
-
/**
|
|
508
|
-
* Initialize the HyperTrack SDK
|
|
509
|
-
* @param {string} publishableKey - A unique String that is used to identify your account with HyperTrack.
|
|
510
|
-
* @param {bool} startsTracking - Should the SDK start tracking immediately after initialization.
|
|
511
|
-
+ * @param {boolean} automaticallyRequestPermissions - If true, SDK automatically triggers location and motion activity permissions dialogs when tracking starts.
|
|
512
|
-
*/
|
|
513
|
-
|
|
514
|
-
- async createInstance(publishableKey, startsTracking = true): Promise<HyperTrackAPI> {
|
|
515
|
-
+ async createInstance(publishableKey, startsTracking = true, automaticallyRequestPermissions = true): Promise<HyperTrackAPI> {
|
|
516
|
-
- await HyperTrack.initialize(publishableKey, startsTracking);
|
|
517
|
-
+ await HyperTrack.initialize(publishableKey, startsTracking, automaticallyRequestPermissions);
|
|
518
|
-
return new HyperTrackAPI();
|
|
519
|
-
},
|
|
520
|
-
```
|
|
521
|
-
|
|
522
|
-
## [6.2.2] - 2020-04-14
|
|
523
|
-
|
|
524
|
-
### Changed
|
|
525
|
-
|
|
526
|
-
- Updated Android dependency repos.
|
|
527
|
-
|
|
528
|
-
## [6.2.1] - 2020-01-08
|
|
529
|
-
|
|
530
|
-
### Added
|
|
531
|
-
|
|
532
|
-
- RN SDK wrapper now supports native iOS `4.0.x` SDK.
|
|
533
|
-
|
|
534
|
-
## [6.1.0] - 2019-09-30
|
|
535
|
-
|
|
536
|
-
### Added
|
|
537
|
-
|
|
538
|
-
- Adding sync device settings
|
|
539
|
-
- Updated Android SDK to `3.4.7`.
|
|
540
|
-
|
|
541
|
-
## [6.0.0] - 2019-09-17
|
|
542
|
-
|
|
543
|
-
### Changed
|
|
544
|
-
|
|
545
|
-
- Updated interface with promises and split name and metadata
|
|
546
|
-
- Updated react-native to version `0.59.9`.
|
|
547
|
-
|
|
548
|
-
## [5.0.5] - 2019-08-29
|
|
549
|
-
|
|
550
|
-
### Changed
|
|
551
|
-
|
|
552
|
-
- Updated Android SDK to `3.4.5`.
|
|
553
|
-
|
|
554
|
-
## [5.0.4] - 2019-08-23
|
|
555
|
-
|
|
556
|
-
### Changed
|
|
557
|
-
|
|
558
|
-
- Updated Android SDK to `3.3.4` and stop tracking events.
|
|
559
|
-
|
|
560
|
-
## [5.0.3] - 2019-08-22
|
|
561
|
-
|
|
562
|
-
### Added
|
|
563
|
-
|
|
564
|
-
- Make deviceID change with publishable key.
|
|
565
|
-
|
|
566
|
-
## [5.0.2] - 2019-08-15
|
|
567
|
-
|
|
568
|
-
### Fixed
|
|
569
|
-
|
|
570
|
-
- Fixed Android wrapper permissions handling in initialize and startTracking.
|
|
571
|
-
|
|
572
|
-
## [5.0.1] - 2019-08-15
|
|
573
|
-
|
|
574
|
-
### Added
|
|
575
|
-
|
|
576
|
-
- Expose critical errors and update the integration.
|
|
577
|
-
|
|
578
|
-
## [4.1.1] - 2019-08-08
|
|
579
|
-
|
|
580
|
-
### Changed
|
|
581
|
-
|
|
582
|
-
- Bump Android SDK version to `3.3.1`.
|
|
583
|
-
|
|
584
|
-
## [4.1.0] - 2019-08-07
|
|
585
|
-
|
|
586
|
-
### Changed
|
|
587
|
-
|
|
588
|
-
- Make `getDeviceID` consistent between Android and iOS wrappers.
|
|
589
|
-
|
|
590
|
-
## [4.0.2] - 2019-08-06
|
|
591
|
-
|
|
592
|
-
### Fixed
|
|
593
|
-
|
|
594
|
-
- Fixed null context exception in Android wrapper.
|
|
595
|
-
|
|
596
|
-
## [4.0.1] - 2019-07-29
|
|
597
|
-
|
|
598
|
-
### Added
|
|
599
|
-
|
|
600
|
-
- Added an option to start tracking right after initialization.
|
|
601
|
-
|
|
602
|
-
### API Diff
|
|
603
|
-
|
|
604
|
-
```diff
|
|
605
|
-
/**
|
|
606
|
-
* Initialize the HyperTrack SDK
|
|
607
|
-
* @param {string} publishableKey - A unique String that is used to identify your account with HyperTrack.
|
|
608
|
-
+ * @param {bool} startsTracking - Should the SDK start tracking immediately after initialization
|
|
609
|
-
*/
|
|
610
|
-
initialize(publishableKey) {
|
|
611
|
-
- RNHyperTrack.initialize(publishableKey);
|
|
612
|
-
+ RNHyperTrack.initialize(publishableKey, startsTracking);
|
|
613
|
-
},
|
|
614
|
-
```
|
|
615
|
-
|
|
616
|
-
## [3.0.0] - 2019-07-23
|
|
617
|
-
|
|
618
|
-
### Added
|
|
619
|
-
|
|
620
|
-
- Backups key for Android SDK
|
|
621
|
-
|
|
622
|
-
### Changed
|
|
623
|
-
|
|
624
|
-
- Bump Android SDK version to 3.3.0 and switch to trip markers for native calls.
|
|
625
|
-
|
|
626
|
-
## [2.0.0] - 2019-07-17
|
|
627
|
-
|
|
628
|
-
### Deprecated
|
|
629
|
-
|
|
630
|
-
- `sendCustomEvent` was renamed to `setTripMarker`.
|
|
631
|
-
|
|
632
|
-
## [1.0.2] - 2019-07-04
|
|
633
|
-
|
|
634
|
-
### Added
|
|
635
|
-
|
|
636
|
-
- Added silent push notifications.
|
|
637
|
-
|
|
638
|
-
## [1.0.1] - 2019-06-26
|
|
639
|
-
|
|
640
|
-
### Added
|
|
641
|
-
|
|
642
|
-
- Added HyperTrack repository to repos list.
|
|
643
|
-
|
|
644
|
-
## [1.0.0] - 2019-06-07
|
|
645
|
-
|
|
646
|
-
Initial release.
|
|
647
|
-
|
|
648
|
-
[1.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/1.0.0
|
|
649
|
-
[1.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/1.0.1
|
|
650
|
-
[1.0.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/1.0.2
|
|
651
|
-
[2.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/2.0.0
|
|
652
|
-
[3.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/3.0.0
|
|
653
|
-
[4.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/4.0.1
|
|
654
|
-
[4.0.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/4.0.2
|
|
655
|
-
[4.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/4.1.0
|
|
656
|
-
[4.1.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/4.1.1
|
|
657
|
-
[5.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/5.0.1
|
|
658
|
-
[5.0.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/5.0.2
|
|
659
|
-
[5.0.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/5.0.3
|
|
660
|
-
[5.0.4]: https://github.com/hypertrack/sdk-react-native/releases/tag/5.0.4
|
|
661
|
-
[5.0.5]: https://github.com/hypertrack/sdk-react-native/releases/tag/5.0.5
|
|
662
|
-
[6.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.0.0
|
|
663
|
-
[6.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.1.0
|
|
664
|
-
[6.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.2.1
|
|
665
|
-
[6.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.2.2
|
|
666
|
-
[6.3.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.3.0
|
|
667
|
-
[6.4.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.4.0
|
|
668
|
-
[6.5.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.5.0
|
|
669
|
-
[6.5.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.5.1
|
|
670
|
-
[6.6.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/6.6.0
|
|
671
|
-
[7.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.0.0
|
|
672
|
-
[7.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.0.1
|
|
673
|
-
[7.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.1.0
|
|
674
|
-
[7.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.2.0
|
|
675
|
-
[7.3.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.3.0
|
|
676
|
-
[7.4.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.4.0
|
|
677
|
-
[7.5.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.5.0
|
|
678
|
-
[7.6.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.6.0
|
|
679
|
-
[7.7.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.7.0
|
|
680
|
-
[7.8.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.8.0
|
|
681
|
-
[7.8.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.8.1
|
|
682
|
-
[7.9.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.9.0
|
|
683
|
-
[7.10.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.10.0
|
|
684
|
-
[7.11.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.11.0
|
|
685
|
-
[7.12.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.12.0
|
|
686
|
-
[7.12.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.12.1
|
|
687
|
-
[7.13.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.13.0
|
|
688
|
-
[7.14.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.14.0
|
|
689
|
-
[7.15.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.15.0
|
|
690
|
-
[7.16.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.16.0
|
|
691
|
-
[7.17.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.17.0
|
|
692
|
-
[7.18.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.18.0
|
|
693
|
-
[7.18.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.18.1
|
|
694
|
-
[7.18.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.18.2
|
|
695
|
-
[7.18.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.18.3
|
|
696
|
-
[7.18.4]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.18.4
|
|
697
|
-
[7.19.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.19.0
|
|
698
|
-
[7.19.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/7.19.1
|
|
699
|
-
[8.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.0.0
|
|
700
|
-
[8.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.1.0
|
|
701
|
-
[8.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.0
|
|
702
|
-
[8.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.1
|
|
703
|
-
[8.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.2
|
|
704
|
-
[9.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.0.0
|
|
705
|
-
[9.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.0
|
|
706
|
-
[9.1.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.1
|
|
707
|
-
[9.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.0
|
|
708
|
-
[9.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.1
|
|
709
|
-
[9.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.2
|
|
710
|
-
[10.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/10.0.0
|
|
711
|
-
[10.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/10.0.1
|
|
712
|
-
[10.0.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/10.0.2
|
|
713
|
-
[10.0.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/10.0.3
|
|
714
|
-
[11.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.0
|
|
715
|
-
[11.0.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.1
|
|
716
|
-
[11.0.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.2
|
|
717
|
-
[11.0.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.3
|
|
718
|
-
[11.0.4]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.4
|
|
719
|
-
[11.0.5]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.5
|
|
720
|
-
[11.0.6]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.6
|
|
721
|
-
[11.0.7]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.7
|
|
722
|
-
[11.0.8]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.8
|
|
723
|
-
[11.0.9]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.9
|
|
724
|
-
[11.0.10]: https://github.com/hypertrack/sdk-react-native/releases/tag/11.0.10
|