@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.
package/android/build.gradle
CHANGED
|
@@ -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
|
-
|
|
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
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": "
|
|
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.
|
|
28
|
+
"react": "^18.3.0",
|
|
29
29
|
"react-native": "^0.74.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
package/react-native-sdk.podspec
CHANGED