@idnow/react-idcheckio 8.1.8 → 8.1.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.
@@ -48,6 +48,8 @@ def supportsNamespace() {
48
48
  }
49
49
 
50
50
  android {
51
+ ndkVersion getExtOrDefault("ndkversion")
52
+
51
53
  if (supportsNamespace()) {
52
54
  namespace "com.idnowreactidcheckio"
53
55
 
@@ -93,13 +95,17 @@ repositories {
93
95
 
94
96
  def kotlin_version = getExtOrDefault("kotlinVersion")
95
97
 
98
+ configurations.all {
99
+ exclude group: 'org.jetbrains.kotlin', module: 'kotlin-compose-compiler-plugin-embeddable'
100
+ }
101
+
96
102
  dependencies {
97
103
  // For < 0.71, this will be from the local maven repo
98
104
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
99
105
  //noinspection GradleDynamicVersion
100
106
  implementation "com.facebook.react:react-native:+"
101
107
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
102
- implementation('com.ariadnext.android.idcheckio:sdk:8.1.8@aar') {
108
+ implementation('com.ariadnext.android.idcheckio:sdk:8.1.9@aar') {
103
109
  transitive = true
104
110
  }
105
111
  implementation 'androidx.appcompat:appcompat:1.7.0'
@@ -1,5 +1,5 @@
1
- IdnowReactIdcheckio_kotlinVersion=2.0.20
1
+ IdnowReactIdcheckio_kotlinVersion=2.2.0
2
2
  IdnowReactIdcheckio_minSdkVersion=21
3
3
  IdnowReactIdcheckio_targetSdkVersion=35
4
4
  IdnowReactIdcheckio_compileSdkVersion=35
5
- IdnowReactIdcheckio_ndkversion=27.2.12479018
5
+ IdnowReactIdcheckio_ndkversion=27.1.12297006
@@ -92,7 +92,7 @@ class IdnowReactIdcheckioModule(private val reactContext: ReactApplicationContex
92
92
 
93
93
  @ReactMethod
94
94
  fun start(params: ReadableMap, onlineContext: ReadableMap?, theme: ReadableMap?, promise: Promise) {
95
- val activity = currentActivity ?: run {
95
+ val activity = reactContext.currentActivity ?: run {
96
96
  promise.reject(name, noContextError())
97
97
  return
98
98
  }
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
  s.swift_version = "5.7"
18
18
 
19
- s.dependency "IDCheckIOSDK", "~> 8.1.5"
19
+ s.dependency "IDCheckIOSDK", "~> 8.1.9"
20
20
 
21
21
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
22
22
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idnow/react-idcheckio",
3
3
  "title": "IDCheckIO SDK ReactNative",
4
- "version": "8.1.8",
4
+ "version": "8.1.9",
5
5
  "description": "React Native plugin for IDCheck.io Mobile SDK",
6
6
  "homepage": "https://www.idnow.io/",
7
7
  "react-native": "src/index",
@@ -18,8 +18,8 @@
18
18
  "@types/react": "^18.2.44"
19
19
  },
20
20
  "peerDependencies": {
21
- "react": ">=17.0.1",
22
- "react-native": ">=0.64.0"
21
+ "react": "19.1.0",
22
+ "react-native": "0.81.5"
23
23
  },
24
24
  "packageManager": "yarn@3.6.1"
25
25
  }
package/release-public.sh CHANGED
@@ -14,8 +14,8 @@
14
14
  PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
15
15
 
16
16
  # Don't modify theses two variables!
17
- current_android_version="8.1.8"
18
- current_ios_version="8.1.5"
17
+ current_android_version="8.1.9"
18
+ current_ios_version="8.1.9"
19
19
 
20
20
  # Read version wanted from input
21
21
  android_value=""