@veryai/react-native-sdk 1.0.13 → 1.0.15
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/android/build.gradle
CHANGED
|
@@ -54,6 +54,6 @@ dependencies {
|
|
|
54
54
|
if (findProject(':very-mobile-sdk') != null) {
|
|
55
55
|
implementation project(':very-mobile-sdk')
|
|
56
56
|
} else {
|
|
57
|
-
implementation "org.very.mobile:sdk:${project.findProperty('veryMobileSDKVersion') ?: '1.0.
|
|
57
|
+
implementation "org.very.mobile:sdk:${project.findProperty('veryMobileSDKVersion') ?: '1.0.15'}"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#import <React/RCTBridgeModule.h>
|
|
@@ -7,8 +7,8 @@ class VeryMobileSDKRN: NSObject {
|
|
|
7
7
|
@objc static func requiresMainQueueSetup() -> Bool { return false }
|
|
8
8
|
|
|
9
9
|
@objc func authenticate(_ config: NSDictionary,
|
|
10
|
-
resolver resolve: RCTPromiseResolveBlock,
|
|
11
|
-
rejecter reject: RCTPromiseRejectBlock) {
|
|
10
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
11
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
12
12
|
DispatchQueue.main.async {
|
|
13
13
|
guard let rootVC = Self.topViewController() else {
|
|
14
14
|
reject("NO_VC", "No root view controller found", nil)
|
package/package.json
CHANGED