@regulaforensics/face-sdk 6.4.198-beta → 6.4.205-nightly
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/.gitlab/report.yaml +75 -0
- package/.gitlab-ci.yml +49 -0
- package/RNFaceSDK.podspec +3 -3
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +4 -2
- package/examples/capacitor/README.md +4 -4
- package/examples/capacitor/android/build.gradle +2 -2
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +2 -2
- package/examples/capacitor/ios/App/Podfile +1 -1
- package/examples/capacitor/package.json +13 -13
- package/examples/capacitor/scripts/android.sh +9 -0
- package/examples/capacitor/scripts/ios.sh +8 -0
- package/examples/capacitor/scripts/setup.sh +4 -0
- package/examples/cordova/README.md +4 -4
- package/examples/cordova/config.xml +2 -2
- package/examples/cordova/package.json +10 -16
- package/examples/cordova/scripts/android.sh +8 -0
- package/examples/cordova/scripts/ios.sh +8 -0
- package/examples/cordova/scripts/setup.sh +5 -0
- package/examples/cordova/www/js/index.js +13 -13
- package/examples/ionic/README.md +4 -4
- package/examples/ionic/config.xml +2 -2
- package/examples/ionic/package.json +16 -17
- package/examples/ionic/scripts/android.sh +8 -0
- package/examples/ionic/scripts/ios.sh +8 -0
- package/examples/ionic/scripts/setup.sh +5 -0
- package/examples/react-native/Gemfile +1 -0
- package/examples/react-native/Gemfile.lock +26 -23
- package/examples/react-native/README.md +4 -4
- package/examples/react-native/android/app/src/main/java/com/regula/face/api/MainApplication.kt +2 -1
- package/examples/react-native/android/build.gradle +3 -3
- package/examples/react-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/react-native/android/gradle/wrapper/gradle-wrapper.properties +2 -2
- package/examples/react-native/android/gradlew +4 -1
- package/examples/react-native/ios/Podfile.lock +319 -303
- package/examples/react-native/package-lock.json +6101 -6298
- package/examples/react-native/package.json +20 -18
- package/examples/react-native/scripts/android.sh +8 -0
- package/examples/react-native/scripts/ios.sh +8 -0
- package/examples/react-native/scripts/setup.sh +8 -0
- package/package.json +1 -1
- package/plugin.xml +4 -2
- package/www/capacitor/liveness/liveness_backend_exception.js +3 -0
- package/www/cordova.js +4 -1
- package/www/react-native/liveness/liveness_backend_exception.js +3 -0
- package/www/types/index.d.ts +1 -0
- package/www/types/liveness/liveness_backend_exception.d.ts +3 -0
|
@@ -5,8 +5,9 @@ GEM
|
|
|
5
5
|
base64
|
|
6
6
|
nkf
|
|
7
7
|
rexml
|
|
8
|
-
activesupport (7.2.1)
|
|
8
|
+
activesupport (7.2.2.1)
|
|
9
9
|
base64
|
|
10
|
+
benchmark (>= 0.3)
|
|
10
11
|
bigdecimal
|
|
11
12
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
12
13
|
connection_pool (>= 2.2.5)
|
|
@@ -23,7 +24,8 @@ GEM
|
|
|
23
24
|
json (>= 1.5.1)
|
|
24
25
|
atomos (0.1.3)
|
|
25
26
|
base64 (0.2.0)
|
|
26
|
-
|
|
27
|
+
benchmark (0.4.0)
|
|
28
|
+
bigdecimal (3.1.9)
|
|
27
29
|
claide (1.1.0)
|
|
28
30
|
cocoapods (1.15.2)
|
|
29
31
|
addressable (~> 2.8)
|
|
@@ -64,51 +66,51 @@ GEM
|
|
|
64
66
|
cocoapods-try (1.2.0)
|
|
65
67
|
colored2 (3.1.2)
|
|
66
68
|
concurrent-ruby (1.3.4)
|
|
67
|
-
connection_pool (2.
|
|
69
|
+
connection_pool (2.5.0)
|
|
68
70
|
drb (2.2.1)
|
|
69
71
|
escape (0.0.4)
|
|
70
72
|
ethon (0.16.0)
|
|
71
73
|
ffi (>= 1.15.0)
|
|
72
|
-
ffi (1.17.
|
|
73
|
-
ffi (1.17.
|
|
74
|
-
ffi (1.17.
|
|
75
|
-
ffi (1.17.
|
|
76
|
-
ffi (1.17.
|
|
77
|
-
ffi (1.17.
|
|
78
|
-
ffi (1.17.
|
|
79
|
-
ffi (1.17.
|
|
80
|
-
ffi (1.17.
|
|
81
|
-
ffi (1.17.
|
|
82
|
-
ffi (1.17.
|
|
74
|
+
ffi (1.17.1)
|
|
75
|
+
ffi (1.17.1-aarch64-linux-gnu)
|
|
76
|
+
ffi (1.17.1-aarch64-linux-musl)
|
|
77
|
+
ffi (1.17.1-arm-linux-gnu)
|
|
78
|
+
ffi (1.17.1-arm-linux-musl)
|
|
79
|
+
ffi (1.17.1-arm64-darwin)
|
|
80
|
+
ffi (1.17.1-x86-linux-gnu)
|
|
81
|
+
ffi (1.17.1-x86-linux-musl)
|
|
82
|
+
ffi (1.17.1-x86_64-darwin)
|
|
83
|
+
ffi (1.17.1-x86_64-linux-gnu)
|
|
84
|
+
ffi (1.17.1-x86_64-linux-musl)
|
|
83
85
|
fourflusher (2.3.1)
|
|
84
86
|
fuzzy_match (2.0.4)
|
|
85
87
|
gh_inspector (1.1.3)
|
|
86
88
|
httpclient (2.8.3)
|
|
87
89
|
i18n (1.14.6)
|
|
88
90
|
concurrent-ruby (~> 1.0)
|
|
89
|
-
json (2.
|
|
90
|
-
logger (1.6.
|
|
91
|
-
minitest (5.25.
|
|
91
|
+
json (2.9.1)
|
|
92
|
+
logger (1.6.4)
|
|
93
|
+
minitest (5.25.4)
|
|
92
94
|
molinillo (0.8.0)
|
|
93
95
|
nanaimo (0.3.0)
|
|
94
96
|
nap (1.1.0)
|
|
95
97
|
netrc (0.11.0)
|
|
96
98
|
nkf (0.2.0)
|
|
97
99
|
public_suffix (4.0.7)
|
|
98
|
-
rexml (3.
|
|
100
|
+
rexml (3.4.0)
|
|
99
101
|
ruby-macho (2.5.1)
|
|
100
|
-
securerandom (0.
|
|
102
|
+
securerandom (0.4.1)
|
|
101
103
|
typhoeus (1.4.1)
|
|
102
104
|
ethon (>= 0.9.0)
|
|
103
105
|
tzinfo (2.0.6)
|
|
104
106
|
concurrent-ruby (~> 1.0)
|
|
105
|
-
xcodeproj (1.25.
|
|
107
|
+
xcodeproj (1.25.1)
|
|
106
108
|
CFPropertyList (>= 2.3.3, < 4.0)
|
|
107
109
|
atomos (~> 0.1.3)
|
|
108
110
|
claide (>= 1.0.2, < 2.0)
|
|
109
111
|
colored2 (~> 3.1)
|
|
110
112
|
nanaimo (~> 0.3.0)
|
|
111
|
-
rexml (>= 3.3.
|
|
113
|
+
rexml (>= 3.3.6, < 4.0)
|
|
112
114
|
|
|
113
115
|
PLATFORMS
|
|
114
116
|
aarch64-linux-gnu
|
|
@@ -126,9 +128,10 @@ PLATFORMS
|
|
|
126
128
|
DEPENDENCIES
|
|
127
129
|
activesupport (>= 6.1.7.5, != 7.1.0)
|
|
128
130
|
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
|
|
131
|
+
xcodeproj (< 1.26.0)
|
|
129
132
|
|
|
130
133
|
RUBY VERSION
|
|
131
|
-
ruby 3.
|
|
134
|
+
ruby 3.4.1p0
|
|
132
135
|
|
|
133
136
|
BUNDLED WITH
|
|
134
|
-
2.
|
|
137
|
+
2.6.2
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
## How to build demo application
|
|
4
4
|
1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
|
|
5
5
|
|
|
6
|
-
2.
|
|
6
|
+
2. Execute `npm run setup` within this directory.
|
|
7
7
|
|
|
8
8
|
3. Run the app:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* IOS: `npm run ios`.
|
|
10
|
+
* Android: `npm run android`.
|
|
11
11
|
|
|
12
|
-
**Note**: this is just one way of running the app. You can also
|
|
12
|
+
**Note**: this is just one way of running the app. You can also pass `-o` or `--open` argument to the command, and this will open Xcode/Android Studio, then run the app directly from the IDE. Overall, this is a more consistent way, so if you're having troubles running the app from terminal, try running it from the IDE. Just don't forget to make sure that Metro Bundler is running(`npm start`).
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
## How to use offine match
|
package/examples/react-native/android/app/src/main/java/com/regula/face/api/MainApplication.kt
CHANGED
|
@@ -9,6 +9,7 @@ import com.facebook.react.ReactPackage
|
|
|
9
9
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
|
|
10
10
|
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
|
|
11
11
|
import com.facebook.react.defaults.DefaultReactNativeHost
|
|
12
|
+
import com.facebook.react.soloader.OpenSourceMergedSoMapping
|
|
12
13
|
import com.facebook.soloader.SoLoader
|
|
13
14
|
|
|
14
15
|
class MainApplication : Application(), ReactApplication {
|
|
@@ -34,7 +35,7 @@ class MainApplication : Application(), ReactApplication {
|
|
|
34
35
|
|
|
35
36
|
override fun onCreate() {
|
|
36
37
|
super.onCreate()
|
|
37
|
-
SoLoader.init(this,
|
|
38
|
+
SoLoader.init(this, OpenSourceMergedSoMapping)
|
|
38
39
|
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
|
|
39
40
|
// If you opted-in for the New Architecture, we load the native entry point for this app.
|
|
40
41
|
load()
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
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.10.2-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
7
|
-
zipStorePath=wrapper/dists
|
|
7
|
+
zipStorePath=wrapper/dists
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
# See the License for the specific language governing permissions and
|
|
16
16
|
# limitations under the License.
|
|
17
17
|
#
|
|
18
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
19
|
+
#
|
|
18
20
|
|
|
19
21
|
##############################################################################
|
|
20
22
|
#
|
|
@@ -84,7 +86,8 @@ done
|
|
|
84
86
|
# shellcheck disable=SC2034
|
|
85
87
|
APP_BASE_NAME=${0##*/}
|
|
86
88
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
87
|
-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null &&
|
|
89
|
+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
|
90
|
+
' "$PWD" ) || exit
|
|
88
91
|
|
|
89
92
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
90
93
|
MAX_FD=maximum
|