react-native-okhi 1.2.25 → 1.2.26
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
|
@@ -126,8 +126,8 @@ repositories {
|
|
|
126
126
|
dependencies {
|
|
127
127
|
//noinspection GradleDynamicVersion
|
|
128
128
|
implementation "com.facebook.react:react-native:+"
|
|
129
|
-
implementation 'io.okhi.android:core:1.7.
|
|
130
|
-
implementation 'io.okhi.android:okverify:1.9.
|
|
129
|
+
implementation 'io.okhi.android:core:1.7.39'
|
|
130
|
+
implementation 'io.okhi.android:okverify:1.9.73'
|
|
131
131
|
// From node_modules
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -161,9 +161,7 @@ public class OkhiModule extends ReactContextBaseJavaModule {
|
|
|
161
161
|
String branchId = config.getJSONObject("credentials").getString("branchId");
|
|
162
162
|
String clientKey = config.getJSONObject("credentials").getString("clientKey");
|
|
163
163
|
String mode = config.getJSONObject("context").getString("mode");
|
|
164
|
-
|
|
165
|
-
OkHiAppContext context = new OkHiAppContext(getReactApplicationContext(), mode, "react-native", developer);
|
|
166
|
-
auth = new OkHiAuth(getReactApplicationContext(), branchId, clientKey, context);
|
|
164
|
+
auth = new OkHiAuth(getReactApplicationContext(), branchId, clientKey, mode);
|
|
167
165
|
if (getCurrentActivity() != null && getCurrentActivity().getApplicationContext() != null) {
|
|
168
166
|
okVerify = new OkVerify.Builder(getCurrentActivity(), auth).build();
|
|
169
167
|
if (config.has("notification")) {
|
package/package.json
CHANGED
package/src/OkCollect/app.json
CHANGED