@veriff/react-native-sdk 10.0.0 → 11.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
|
@@ -88,7 +88,7 @@ class VeriffSdkModule(private val reactContext: ReactApplicationContext) :
|
|
|
88
88
|
lastResult = null
|
|
89
89
|
status = null
|
|
90
90
|
|
|
91
|
-
val activity = currentActivity
|
|
91
|
+
val activity = reactApplicationContext.currentActivity
|
|
92
92
|
if (activity == null) {
|
|
93
93
|
promise.reject(ERROR_ACTIVITY_NOT_ATTACHED, "No activity attached while launching Veriff")
|
|
94
94
|
return
|
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": "11.1.0",
|
|
5
5
|
"description": "React Native SDK for Veriff identity verification",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -26,25 +26,25 @@
|
|
|
26
26
|
"readmeFilename": "README.md",
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.1.0",
|
|
29
|
-
"react-native": "^0.
|
|
29
|
+
"react-native": "^0.81.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/core": "^7.25.2",
|
|
33
33
|
"@babel/preset-env": "^7.25.3",
|
|
34
34
|
"@babel/runtime": "^7.25.0",
|
|
35
|
-
"@react-native-community/cli": "
|
|
36
|
-
"@react-native-community/cli-platform-android": "
|
|
37
|
-
"@react-native-community/cli-platform-ios": "
|
|
38
|
-
"@react-native/babel-preset": "^0.
|
|
39
|
-
"@react-native/eslint-config": "^0.
|
|
40
|
-
"@react-native/metro-config": "^0.
|
|
41
|
-
"@react-native/typescript-config": "^0.
|
|
35
|
+
"@react-native-community/cli": "20.0.0",
|
|
36
|
+
"@react-native-community/cli-platform-android": "20.0.0",
|
|
37
|
+
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
38
|
+
"@react-native/babel-preset": "^0.81.0",
|
|
39
|
+
"@react-native/eslint-config": "^0.81.0",
|
|
40
|
+
"@react-native/metro-config": "^0.81.0",
|
|
41
|
+
"@react-native/typescript-config": "^0.81.0",
|
|
42
42
|
"@types/react": "^19.1.0",
|
|
43
43
|
"@types/react-test-renderer": "^19.1.0",
|
|
44
44
|
"eslint": "^8.19.0",
|
|
45
45
|
"prettier": "2.8.8",
|
|
46
46
|
"react-test-renderer": "19.1.0",
|
|
47
|
-
"typescript": "5.
|
|
47
|
+
"typescript": "^5.8.3"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=18"
|
package/react-native-sdk.podspec
CHANGED