react-native-steerpath-smart-map 1.29.1 → 1.29.3
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,14 @@ 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.29.3] - 2024-09-17
|
|
19
|
+
|
|
20
|
+
- Fix an issue where iOS location updates were not received.
|
|
21
|
+
|
|
22
|
+
## [1.29.2] - 2024-09-17
|
|
23
|
+
|
|
24
|
+
- Bump iOS Smart SDK version to 1.19.1
|
|
25
|
+
|
|
18
26
|
## [1.29.1] - 2024-07-30
|
|
19
27
|
|
|
20
28
|
- Bump Android Smart SDK version to android-smart-1.23.1 to fix crash when starting live service on Android 14 devices, before location permissions are granted.
|
|
@@ -22,12 +22,16 @@ RCT_EXPORT_MODULE(RNSmartLocationManager);
|
|
|
22
22
|
// Start listening location updates. Starts positioning unless map has started it already.
|
|
23
23
|
-(void)startObserving {
|
|
24
24
|
hasListeners = YES;
|
|
25
|
-
|
|
25
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
26
|
+
[[SPSmartLocationManager sharedInstance] addDelegate:self];
|
|
27
|
+
});
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
-(void)stopObserving {
|
|
29
31
|
hasListeners = NO;
|
|
30
|
-
|
|
32
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
33
|
+
[[SPSmartLocationManager sharedInstance] removeDelegate:self];
|
|
34
|
+
});
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
-(void)spSmartLocationManager:(SPSmartLocationManager *)manager onLocationChanged:(double)latitude longitude:(double)longitude buildingRef:(nullable NSString *)buildingRef floorIndex:(NSInteger)floorIndex accuracyM:(double)accuracyM{
|
package/package.json
CHANGED