@regulaforensics/face-sdk 8.3.1396-nightly → 8.3.1407-rc
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/Package.swift +27 -0
- package/README.md +3 -0
- package/android/CDVFaceSDK.kt +4 -3
- package/android/build.gradle.kts +37 -0
- package/android/cordova.gradle.kts +17 -0
- package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Config.kt +1 -3
- package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Implementation.kt +2 -2
- package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/JSONConstructor.kt +4 -4
- package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/RNFaceApiModule.kt +1 -1
- package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Utils.kt +2 -2
- package/app.plugin.js +10 -7
- package/examples/capacitor/README.md +2 -0
- package/examples/capacitor/android/app/build.gradle +1 -10
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +9 -0
- package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +5 -0
- package/examples/capacitor/android/build.gradle +12 -3
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/android/gradle.properties +4 -0
- package/examples/capacitor/android/gradlew +4 -7
- package/examples/capacitor/android/gradlew.bat +82 -94
- package/examples/capacitor/android/variables.gradle +13 -9
- package/examples/capacitor/capacitor.config.json +15 -0
- package/examples/capacitor/index.tsx +15 -23
- package/examples/capacitor/ios/App/App/AppDelegate.swift +5 -40
- package/examples/capacitor/ios/App/App/Info.plist +18 -2
- package/examples/capacitor/ios/App/App/SceneDelegate.swift +23 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +25 -85
- package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +1 -0
- package/examples/capacitor/package-lock.json +1075 -1935
- package/examples/capacitor/package.json +14 -19
- package/examples/capacitor/scripts/android.sh +5 -8
- package/examples/capacitor/scripts/ios.sh +5 -7
- package/examples/capacitor/scripts/setup.sh +2 -6
- package/examples/capacitor/src/main.css +5 -1
- package/examples/capacitor/vite.config.ts +0 -12
- package/examples/ionic/README.md +2 -0
- package/examples/ionic/config.xml +1 -1
- package/examples/ionic/index.tsx +8 -3
- package/examples/ionic/package-lock.json +6445 -12138
- package/examples/ionic/package.json +23 -27
- package/examples/ionic/scripts/android.sh +0 -2
- package/examples/ionic/scripts/ios.sh +0 -2
- package/examples/ionic/scripts/setup.sh +0 -2
- package/examples/ionic/tsconfig.json +0 -1
- package/examples/react_native/README.md +2 -0
- package/examples/react_native/app.config.ts +0 -1
- package/examples/react_native/package-lock.json +2108 -3737
- package/examples/react_native/package.json +19 -17
- package/examples/react_native/scripts/android.sh +8 -6
- package/examples/react_native/scripts/ios.sh +7 -5
- package/examples/react_native/scripts/setup.sh +7 -4
- package/ios/CDVFaceSDK.swift +6 -1
- package/ios/Config.swift +1 -3
- package/ios/Decoder.swift +1 -1
- package/ios/Implementation.swift +4 -4
- package/ios/RNFaceSDK.swift +2 -2
- package/package.json +1 -1
- package/plugin.xml +11 -11
- package/react-native-face-sdk.podspec +14 -0
- package/test/json.tsx +0 -20
- package/test/package-lock.json +5 -2
- package/test/test.tsx +0 -2
- package/www/capacitor/internal/cordova.js +2 -2
- package/www/capacitor/liveness/verification_config.js +2 -18
- package/www/cordova.js +4 -20
- package/www/react-native/liveness/verification_config.js +2 -18
- package/www/types/liveness/verification_config.d.ts +2 -27
- package/RNFaceSDK.podspec +0 -21
- package/android/build.gradle +0 -36
- package/android/cordova.gradle +0 -18
- package/examples/capacitor/android/app/capacitor.build.gradle +0 -21
- package/examples/capacitor/android/capacitor.settings.gradle +0 -12
- package/examples/capacitor/ionic.config.json +0 -7
- package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +0 -19
- package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -10
- package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/examples/capacitor/ios/App/Podfile +0 -31
- package/examples/capacitor/ios/App/Podfile.lock +0 -57
- package/examples/react_native/vendor/image-size-metro-compat/index.cjs +0 -16
- package/examples/react_native/vendor/image-size-metro-compat/package.json +0 -8
package/android/cordova.gradle
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
android {
|
|
2
|
-
aaptOptions {
|
|
3
|
-
noCompress "Regula/faceSdkResource.dat"
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
repositories {
|
|
8
|
-
maven {
|
|
9
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
dependencies {
|
|
14
|
-
//noinspection GradleDependency
|
|
15
|
-
implementation('com.regula.face:api:8.3.5403'){
|
|
16
|
-
transitive = true
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
2
|
-
|
|
3
|
-
android {
|
|
4
|
-
compileOptions {
|
|
5
|
-
sourceCompatibility JavaVersion.VERSION_21
|
|
6
|
-
targetCompatibility JavaVersion.VERSION_21
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
11
|
-
dependencies {
|
|
12
|
-
implementation project(':capacitor-app')
|
|
13
|
-
implementation project(':capacitor-dialog')
|
|
14
|
-
implementation project(':capacitor-status-bar')
|
|
15
|
-
implementation "androidx.webkit:webkit:1.4.0"
|
|
16
|
-
implementation "androidx.core:core:1.6.+"
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
if (hasProperty('postBuildExtras')) {
|
|
20
|
-
postBuildExtras()
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
2
|
-
include ':capacitor-android'
|
|
3
|
-
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
|
|
4
|
-
|
|
5
|
-
include ':capacitor-app'
|
|
6
|
-
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
|
|
7
|
-
|
|
8
|
-
include ':capacitor-dialog'
|
|
9
|
-
project(':capacitor-dialog').projectDir = new File('../node_modules/@capacitor/dialog/android')
|
|
10
|
-
|
|
11
|
-
include ':capacitor-status-bar'
|
|
12
|
-
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14111" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
|
|
3
|
-
<device id="retina4_7" orientation="portrait">
|
|
4
|
-
<adaptation id="fullscreen"/>
|
|
5
|
-
</device>
|
|
6
|
-
<dependencies>
|
|
7
|
-
<deployment identifier="iOS"/>
|
|
8
|
-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
|
9
|
-
</dependencies>
|
|
10
|
-
<scenes>
|
|
11
|
-
<!--Bridge View Controller-->
|
|
12
|
-
<scene sceneID="tne-QT-ifu">
|
|
13
|
-
<objects>
|
|
14
|
-
<viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>
|
|
15
|
-
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
|
16
|
-
</objects>
|
|
17
|
-
</scene>
|
|
18
|
-
</scenes>
|
|
19
|
-
</document>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
source 'https://github.com/CocoaPods/Specs.git'
|
|
2
|
-
source 'https://github.com/regulaforensics/podspecs.git'
|
|
3
|
-
|
|
4
|
-
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
5
|
-
|
|
6
|
-
platform :ios, '15.0'
|
|
7
|
-
use_frameworks!
|
|
8
|
-
|
|
9
|
-
# workaround to avoid Xcode caching of Pods that requires
|
|
10
|
-
# Product -> Clean Build Folder after new Cordova plugins installed
|
|
11
|
-
# Requires CocoaPods 1.6 or newer
|
|
12
|
-
install! 'cocoapods', :disable_input_output_paths => true
|
|
13
|
-
|
|
14
|
-
def capacitor_pods
|
|
15
|
-
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
|
|
16
|
-
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
|
|
17
|
-
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
|
|
18
|
-
pod 'CapacitorDialog', :path => '../../node_modules/@capacitor/dialog'
|
|
19
|
-
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
|
|
20
|
-
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
|
21
|
-
pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins'
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
target 'App' do
|
|
25
|
-
capacitor_pods
|
|
26
|
-
# Add your Pods here
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
post_install do |installer|
|
|
30
|
-
assertDeploymentTarget(installer)
|
|
31
|
-
end
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
PODS:
|
|
2
|
-
- Capacitor (8.0.2):
|
|
3
|
-
- CapacitorCordova
|
|
4
|
-
- CapacitorApp (8.0.0):
|
|
5
|
-
- Capacitor
|
|
6
|
-
- CapacitorCordova (8.0.2)
|
|
7
|
-
- CapacitorDialog (8.0.0):
|
|
8
|
-
- Capacitor
|
|
9
|
-
- CapacitorStatusBar (8.0.0):
|
|
10
|
-
- Capacitor
|
|
11
|
-
- CordovaPlugins (8.0.2):
|
|
12
|
-
- CapacitorCordova
|
|
13
|
-
- CordovaPluginsResources (0.0.105)
|
|
14
|
-
|
|
15
|
-
DEPENDENCIES:
|
|
16
|
-
- "Capacitor (from `../../node_modules/@capacitor/ios`)"
|
|
17
|
-
- "CapacitorApp (from `../../node_modules/@capacitor/app`)"
|
|
18
|
-
- "CapacitorCordova (from `../../node_modules/@capacitor/ios`)"
|
|
19
|
-
- "CapacitorDialog (from `../../node_modules/@capacitor/dialog`)"
|
|
20
|
-
- "CapacitorStatusBar (from `../../node_modules/@capacitor/status-bar`)"
|
|
21
|
-
- CordovaPlugins (from `../capacitor-cordova-ios-plugins`)
|
|
22
|
-
- CordovaPluginsResources (from `../capacitor-cordova-ios-plugins`)
|
|
23
|
-
|
|
24
|
-
SPEC REPOS:
|
|
25
|
-
https://github.com/CocoaPods/Specs.git:
|
|
26
|
-
- FaceCoreBasic
|
|
27
|
-
- FaceSDK
|
|
28
|
-
- RegulaCommon
|
|
29
|
-
|
|
30
|
-
EXTERNAL SOURCES:
|
|
31
|
-
Capacitor:
|
|
32
|
-
:path: "../../node_modules/@capacitor/ios"
|
|
33
|
-
CapacitorApp:
|
|
34
|
-
:path: "../../node_modules/@capacitor/app"
|
|
35
|
-
CapacitorCordova:
|
|
36
|
-
:path: "../../node_modules/@capacitor/ios"
|
|
37
|
-
CapacitorDialog:
|
|
38
|
-
:path: "../../node_modules/@capacitor/dialog"
|
|
39
|
-
CapacitorStatusBar:
|
|
40
|
-
:path: "../../node_modules/@capacitor/status-bar"
|
|
41
|
-
CordovaPlugins:
|
|
42
|
-
:path: "../capacitor-cordova-ios-plugins"
|
|
43
|
-
CordovaPluginsResources:
|
|
44
|
-
:path: "../capacitor-cordova-ios-plugins"
|
|
45
|
-
|
|
46
|
-
SPEC CHECKSUMS:
|
|
47
|
-
Capacitor: 2b79172ad27f3be2d103cce88b8eb9803fdcc744
|
|
48
|
-
CapacitorApp: 3963a84197280757b84f126afd1520a85ae3b092
|
|
49
|
-
CapacitorCordova: 921bdb690ebe82421b24fce45552fd3dea2ae43a
|
|
50
|
-
CapacitorDialog: 3721e40dd075f590328166c29b4e982dbeedeb56
|
|
51
|
-
CapacitorStatusBar: 312e2e67928dfe9514c4a8916a1fd610552f5f35
|
|
52
|
-
CordovaPlugins: abfe2fc4dd659536d5a76f896dd6f4a5276c976d
|
|
53
|
-
CordovaPluginsResources: da93847212bf7b16ba770e4d6c3e7dba820174c7
|
|
54
|
-
|
|
55
|
-
PODFILE CHECKSUM: 33138b6aebc6e5be89605d3f182bfe1360db615f
|
|
56
|
-
|
|
57
|
-
COCOAPODS: 1.16.2
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const fs = require('node:fs')
|
|
2
|
-
const next = require('image-size-next')
|
|
3
|
-
|
|
4
|
-
function imageSize(input) {
|
|
5
|
-
const data = typeof input === 'string'
|
|
6
|
-
? fs.readFileSync(input)
|
|
7
|
-
: input
|
|
8
|
-
|
|
9
|
-
return next.imageSize(data)
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
module.exports = imageSize
|
|
13
|
-
module.exports.default = imageSize
|
|
14
|
-
module.exports.imageSize = imageSize
|
|
15
|
-
module.exports.disableTypes = next.disableTypes
|
|
16
|
-
module.exports.types = next.types
|