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.
@@ -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.2'
61
- implementation 'com.github.okhi:android-okverify:v1.5.1'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-okhi",
3
- "version": "1.0.17-beta.8",
3
+ "version": "1.0.17-beta.9",
4
4
  "description": "The OkHi React Native library enables you to collect and verify addresses from your users",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
 
18
18
  s.dependency "React-Core"
19
- s.dependency 'OkHi', '1.8.9-beta'
19
+ s.dependency 'OkHi', '1.8.8'
20
20
  end