react-native-hyperkyc-sdk 0.1.1-alpha → 0.1.2-alpha
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.
|
@@ -3,6 +3,7 @@ package com.reactnativehyperkycsdk;
|
|
|
3
3
|
|
|
4
4
|
import android.app.Activity;
|
|
5
5
|
import android.content.Intent;
|
|
6
|
+
import android.support.annotation.NonNull;
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
import com.facebook.react.ReactActivity;
|
|
@@ -31,7 +32,7 @@ import co.hyperverge.hyperkyc.data.models.HyperKycFlow;
|
|
|
31
32
|
import co.hyperverge.hyperkyc.data.models.HyperKycResult;
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
|
|
35
36
|
public class HyperkycSdkModule extends ReactContextBaseJavaModule {
|
|
36
37
|
public static final String NAME = "HyperkycSdk";
|
|
37
38
|
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
package com.reactnativehyperkycsdk;
|
|
2
2
|
|
|
3
|
+
import android.support.annotation.NonNull;
|
|
4
|
+
|
|
3
5
|
import androidx.annotation.NonNull;
|
|
4
6
|
|
|
5
7
|
import com.facebook.react.ReactPackage;
|
|
8
|
+
import com.facebook.react.bridge.JavaScriptModule;
|
|
6
9
|
import com.facebook.react.bridge.NativeModule;
|
|
7
10
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
8
11
|
import com.facebook.react.uimanager.ViewManager;
|
|
@@ -20,7 +23,12 @@ public class HyperkycSdkPackage implements ReactPackage {
|
|
|
20
23
|
return modules;
|
|
21
24
|
}
|
|
22
25
|
|
|
23
|
-
|
|
26
|
+
@Override
|
|
27
|
+
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@NonNull
|
|
24
32
|
@Override
|
|
25
33
|
public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
|
|
26
34
|
return Collections.emptyList();
|