@situm/react-native 3.15.0-beta.0 → 3.15.0-beta.1
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/ios/SitumPlugin.m +4 -4
- package/package.json +1 -1
package/ios/SitumPlugin.m
CHANGED
|
@@ -785,8 +785,8 @@ RCT_EXPORT_METHOD(onExitGeofences){
|
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
RCT_EXPORT_METHOD(configureUserHelper:(NSDictionary *)options
|
|
788
|
-
|
|
789
|
-
|
|
788
|
+
withSuccessCallback:(RCTResponseSenderBlock)successBlock
|
|
789
|
+
errorCallback:(RCTResponseSenderBlock)errorBlock)
|
|
790
790
|
{
|
|
791
791
|
@try {
|
|
792
792
|
BOOL enabled = NO;
|
|
@@ -818,10 +818,10 @@ RCT_EXPORT_METHOD(configureUserHelper:(NSDictionary *)options
|
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
|
|
821
|
+
successBlock(@[@"User helper configured"]);
|
|
822
822
|
}
|
|
823
823
|
@catch (NSException *exception) {
|
|
824
|
-
|
|
824
|
+
errorBlock(@[exception.reason]);
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@situm/react-native",
|
|
3
|
-
"version": "3.15.0-beta.
|
|
3
|
+
"version": "3.15.0-beta.1",
|
|
4
4
|
"description": "Set of utilities that allow any developer to build React Native location based apps using Situm's indoor positioning system.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": "https://github.com/situmtech/react-native",
|