react-native-steerpath-smart-map 1.29.2 → 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 +4 -1
- package/ios/RNSmartLocationManager.m +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,10 +15,13 @@ 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
|
+
|
|
18
22
|
## [1.29.2] - 2024-09-17
|
|
19
23
|
|
|
20
24
|
- Bump iOS Smart SDK version to 1.19.1
|
|
21
|
-
- Fix an issue where iOS location updates were not received.
|
|
22
25
|
|
|
23
26
|
## [1.29.1] - 2024-07-30
|
|
24
27
|
|
|
@@ -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