facia-mobilesdk 0.5.2 → 0.5.4
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
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
# Welcome to
|
|
1
|
+
# Welcome to Android Sample Apps
|
|
2
|
+
|
|
3
|
+
Please note that these are the sample apps for android in Kotlin & Java, designed to provide a glimpse of our powerful features. For the actual SDK and comprehensive integration guide, please visit **[Android Integration Guide](https://developers.facia.ai/platforms/android-sdk)**
|
|
2
4
|
|
|
3
|
-
Please note that this is the core plugin for React Native. For the comprehensive integration guide, please visit **[React Native Integration Guide](https://developers.facia.ai/mobile/sdks/platforms/react-sdk)**
|
package/facia-mobilesdk.podspec
CHANGED
package/ios/MobilesdkModule.m
CHANGED
|
@@ -24,6 +24,11 @@ RCT_EXPORT_METHOD(verify:(NSString *)token config:(NSString *)config callback: (
|
|
|
24
24
|
|
|
25
25
|
UIViewController* vc = RCTPresentedViewController();
|
|
26
26
|
__block RCTResponseSenderBlock originalCallback = [callback copy];
|
|
27
|
+
|
|
28
|
+
NSDictionary *configDict = [self parseJSONString:config];
|
|
29
|
+
NSMutableDictionary *modifiedConfigDict = [configDict mutableCopy];
|
|
30
|
+
modifiedConfigDict[@"platform"] = @"react-native-0.5.4";
|
|
31
|
+
|
|
27
32
|
[facia createRequestWithParentViewController:vc
|
|
28
33
|
accessToken:token
|
|
29
34
|
configs:[self parseJSONString:config]
|