react-native-risk-sdk 1.4.20 → 1.4.21
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/.gradle/8.0.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/src/main/java/in/finbox/mobileriskmanagerreact/RiskSdkModule.java +8 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -90,6 +90,14 @@ public class RiskSdkModule extends ReactContextBaseJavaModule {
|
|
|
90
90
|
finbox.startPeriodicSync();
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Sync the data once
|
|
95
|
+
*/
|
|
96
|
+
@ReactMethod
|
|
97
|
+
public void syncOnce() {
|
|
98
|
+
finbox.syncOnce();
|
|
99
|
+
}
|
|
100
|
+
|
|
93
101
|
@ReactMethod
|
|
94
102
|
public void setDeviceMatch(@Nullable String email, @Nullable String name, @Nullable String phone) {
|
|
95
103
|
final DeviceMatch.Builder deviceMatchBuilder = new DeviceMatch.Builder();
|