react-native-okhi 1.0.17-beta.8 → 1.0.17-beta.9
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
|
@@ -57,6 +57,6 @@ repositories {
|
|
|
57
57
|
dependencies {
|
|
58
58
|
//noinspection GradleDynamicVersion
|
|
59
59
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
60
|
-
implementation 'com.github.okhi:android-core:v1.4.
|
|
61
|
-
implementation 'com.github.okhi:android-okverify:v1.5.
|
|
60
|
+
implementation 'com.github.okhi:android-core:v1.4.3'
|
|
61
|
+
implementation 'com.github.okhi:android-okverify:v1.5.2'
|
|
62
62
|
}
|
|
@@ -263,7 +263,7 @@ public class OkhiModule extends ReactContextBaseJavaModule {
|
|
|
263
263
|
|
|
264
264
|
@ReactMethod
|
|
265
265
|
public void canOpenProtectedAppsSettings(Promise promise) {
|
|
266
|
-
promise.resolve(OkHiPermissionService.canOpenProtectedApps());
|
|
266
|
+
promise.resolve(OkHiPermissionService.canOpenProtectedApps(getReactApplicationContext()));
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
@ReactMethod
|
package/package.json
CHANGED