react-native-mdl-verification 1.0.5 → 1.0.7
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.
|
@@ -17,8 +17,8 @@ import androidx.activity.ComponentActivity
|
|
|
17
17
|
class MdlVerificationBridge(reactContext: ReactApplicationContext) :
|
|
18
18
|
ReactContextBaseJavaModule(reactContext) {
|
|
19
19
|
private lateinit var coordinator: MdlVerificationCoordinator
|
|
20
|
-
private local_licenseKey: String
|
|
21
|
-
private local_applicationId: String
|
|
20
|
+
private var local_licenseKey: String
|
|
21
|
+
private var local_applicationId: String
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
companion object {
|
|
@@ -107,6 +107,8 @@ class MdlVerificationBridge(reactContext: ReactApplicationContext) :
|
|
|
107
107
|
|
|
108
108
|
coordinator = MdlVerificationCoordinator(currentActivity)
|
|
109
109
|
coordinator.initSDK(licenseKey)
|
|
110
|
+
local_licenseKey = licenseKey;
|
|
111
|
+
local_applicationId = currentActivity.getApplicationId();
|
|
110
112
|
|
|
111
113
|
promise.resolve("SDK initialized successfully")
|
|
112
114
|
Log.d(TAG, "SDK initialized successfully")
|
package/package.json
CHANGED