@veriff/react-native-sdk 6.2.0 → 7.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 +3 -3
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradlew.bat +10 -10
- package/ios/Podfile +1 -1
- package/package.json +6 -6
- package/react-native-sdk.podspec +2 -2
- package/android/README.md +0 -14
- package/catalog-info.yaml +0 -19
package/android/build.gradle
CHANGED
|
@@ -10,7 +10,7 @@ buildscript {
|
|
|
10
10
|
|
|
11
11
|
dependencies {
|
|
12
12
|
classpath 'com.android.tools.build:gradle:7.4.2'
|
|
13
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.
|
|
13
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.9.22')}"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -35,7 +35,7 @@ android {
|
|
|
35
35
|
buildToolsVersion safeExtGet('buildToolsVersion', '34.0.0')
|
|
36
36
|
|
|
37
37
|
defaultConfig {
|
|
38
|
-
minSdkVersion safeExtGet('minSdkVersion',
|
|
38
|
+
minSdkVersion safeExtGet('minSdkVersion', 26)
|
|
39
39
|
targetSdkVersion safeExtGet('targetSdkVersion', 34)
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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:
|
|
55
|
+
implementation 'com.veriff:veriff-library:7.0.1'
|
|
56
56
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
package/android/gradlew.bat
CHANGED
|
@@ -42,11 +42,11 @@ set JAVA_EXE=java.exe
|
|
|
42
42
|
%JAVA_EXE% -version >NUL 2>&1
|
|
43
43
|
if "%ERRORLEVEL%" == "0" goto execute
|
|
44
44
|
|
|
45
|
-
echo.
|
|
46
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
47
|
-
echo.
|
|
48
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
49
|
-
echo location of your Java installation.
|
|
45
|
+
echo. 1>&2
|
|
46
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
|
47
|
+
echo. 1>&2
|
|
48
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
49
|
+
echo location of your Java installation. 1>&2
|
|
50
50
|
|
|
51
51
|
goto fail
|
|
52
52
|
|
|
@@ -56,11 +56,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
|
56
56
|
|
|
57
57
|
if exist "%JAVA_EXE%" goto execute
|
|
58
58
|
|
|
59
|
-
echo.
|
|
60
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
61
|
-
echo.
|
|
62
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
63
|
-
echo location of your Java installation.
|
|
59
|
+
echo. 1>&2
|
|
60
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
|
61
|
+
echo. 1>&2
|
|
62
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
63
|
+
echo location of your Java installation. 1>&2
|
|
64
64
|
|
|
65
65
|
goto fail
|
|
66
66
|
|
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": "7.1.0",
|
|
5
5
|
"description": "React Native SDK for Veriff identity verification",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"readmeFilename": "README.md",
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "18.2.0",
|
|
29
|
-
"react-native": "^0.
|
|
29
|
+
"react-native": "^0.74.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/core": "^7.20.0",
|
|
33
33
|
"@babel/preset-env": "^7.20.0",
|
|
34
34
|
"@babel/runtime": "^7.20.0",
|
|
35
|
-
"@react-native/babel-preset": "^0.
|
|
36
|
-
"@react-native/eslint-config": "^0.
|
|
37
|
-
"@react-native/metro-config": "^0.
|
|
38
|
-
"@react-native/typescript-config": "^0.
|
|
35
|
+
"@react-native/babel-preset": "^0.74.0",
|
|
36
|
+
"@react-native/eslint-config": "^0.74.0",
|
|
37
|
+
"@react-native/metro-config": "^0.74.0",
|
|
38
|
+
"@react-native/typescript-config": "^0.74.0",
|
|
39
39
|
"@types/react": "^18.2.6",
|
|
40
40
|
"eslint": "^8.19.0",
|
|
41
41
|
"prettier": "2.8.8",
|
package/react-native-sdk.podspec
CHANGED
|
@@ -13,12 +13,12 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.license = "MIT"
|
|
14
14
|
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
|
15
15
|
s.authors = { "Veriff" => "support@veriff.com" }
|
|
16
|
-
s.platforms = { :ios => "
|
|
16
|
+
s.platforms = { :ios => "13.4" }
|
|
17
17
|
s.source = { :git => "https://github.com/veriff/react-native-sdk.git", :tag => "#{s.version}" }
|
|
18
18
|
|
|
19
19
|
s.source_files = "ios/**/*.{h,m,swift}"
|
|
20
20
|
s.requires_arc = true
|
|
21
21
|
|
|
22
22
|
s.dependency "React"
|
|
23
|
-
s.dependency "VeriffSDK", "
|
|
23
|
+
s.dependency "VeriffSDK", "7.4.0"
|
|
24
24
|
end
|
package/android/README.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
README
|
|
2
|
-
======
|
|
3
|
-
|
|
4
|
-
If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:
|
|
5
|
-
|
|
6
|
-
1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed
|
|
7
|
-
2. Be sure to have a `local.properties` file in this folder that points to the Android SDK and NDK
|
|
8
|
-
```
|
|
9
|
-
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
|
|
10
|
-
sdk.dir=/Users/{username}/Library/Android/sdk
|
|
11
|
-
```
|
|
12
|
-
3. Delete the `maven` folder
|
|
13
|
-
4. Run `./gradlew installArchives`
|
|
14
|
-
5. Verify that latest set of generated files is in the maven folder with the correct version number
|
package/catalog-info.yaml
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
apiVersion: backstage.io/v1beta1
|
|
2
|
-
kind: Component
|
|
3
|
-
metadata:
|
|
4
|
-
name: react-native-sdk
|
|
5
|
-
description: React Native wrapper around our native Android & iOS SDKs
|
|
6
|
-
annotations:
|
|
7
|
-
veriff.com/criticality: disaster
|
|
8
|
-
github.com/project-slug: Veriff/react-native-sdk
|
|
9
|
-
circleci.com/project-slug: github/Veriff/react-native-sdk
|
|
10
|
-
sonarqube.org/project-key: Veriff_react-native-sdk
|
|
11
|
-
links:
|
|
12
|
-
- title: Circle CI
|
|
13
|
-
url: https://circle.com/gh/Veriff/react-native-sdk
|
|
14
|
-
tags:
|
|
15
|
-
- java
|
|
16
|
-
spec:
|
|
17
|
-
type: library
|
|
18
|
-
owner: end-user-platform-mobile
|
|
19
|
-
lifecycle: production
|