@veriff/react-native-sdk 7.2.0 → 8.1.0

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.
@@ -52,5 +52,5 @@ dependencies {
52
52
  implementation 'com.facebook.react:react-android:+'
53
53
  implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.21"
54
54
 
55
- implementation 'com.veriff:veriff-library:7.1.0'
55
+ implementation 'com.veriff:veriff-library:7.7.0'
56
56
  }
@@ -41,7 +41,10 @@ class ReactNativeImageProvider(private val url: String?) : Branding.DrawableProv
41
41
  if (bitmap == null) {
42
42
  atomicResult.set(Result(IOException("Loaded bitmap was null")))
43
43
  } else {
44
- atomicResult.set(Result(bitmap.copy(bitmap.config, false)))
44
+ // This check is necessary for newer versions of Expo v51+ to compile
45
+ // https://veriff.atlassian.net/browse/EUP-4416
46
+ val config = bitmap.config ?: Bitmap.Config.ARGB_8888
47
+ atomicResult.set(Result(bitmap.copy(config, false)))
45
48
  }
46
49
  imageLoadLatch.countDown()
47
50
  }
package/ios/Podfile CHANGED
@@ -9,7 +9,7 @@ require Pod::Executable.execute_command('node', ['-p',
9
9
 
10
10
  target 'VeriffSdk' do
11
11
  # Pods for VeriffSdk
12
- pod 'VeriffSDK', '7.6.0'
12
+ pod 'VeriffSDK', '7.12.0'
13
13
 
14
14
  config = use_native_modules!
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veriff/react-native-sdk",
3
3
  "title": "React Native Veriff SDK",
4
- "version": "7.2.0",
4
+ "version": "8.1.0",
5
5
  "description": "React Native SDK for Veriff identity verification",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -25,7 +25,7 @@
25
25
  "licenseFilename": "LICENSE",
26
26
  "readmeFilename": "README.md",
27
27
  "peerDependencies": {
28
- "react": "18.2.0",
28
+ "react": "^18.3.0",
29
29
  "react-native": "^0.74.0"
30
30
  },
31
31
  "devDependencies": {
@@ -20,5 +20,5 @@ Pod::Spec.new do |s|
20
20
  s.requires_arc = true
21
21
 
22
22
  s.dependency "React"
23
- s.dependency "VeriffSDK", "7.6.0"
23
+ s.dependency "VeriffSDK", "7.12.0"
24
24
  end