@regulaforensics/face-sdk 8.3.1398-rc → 8.3.1411-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.
Files changed (84) hide show
  1. package/Package.swift +27 -0
  2. package/README.md +3 -0
  3. package/android/CDVFaceSDK.kt +4 -3
  4. package/android/build.gradle.kts +37 -0
  5. package/android/cordova.gradle.kts +17 -0
  6. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Config.kt +1 -3
  7. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Implementation.kt +2 -2
  8. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/JSONConstructor.kt +5 -5
  9. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/RNFaceApiModule.kt +1 -1
  10. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Utils.kt +2 -2
  11. package/app.plugin.js +10 -7
  12. package/examples/capacitor/README.md +2 -0
  13. package/examples/capacitor/android/app/build.gradle +1 -10
  14. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +9 -0
  15. package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +5 -0
  16. package/examples/capacitor/android/build.gradle +12 -3
  17. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  19. package/examples/capacitor/android/gradle.properties +4 -0
  20. package/examples/capacitor/android/gradlew +4 -7
  21. package/examples/capacitor/android/gradlew.bat +82 -94
  22. package/examples/capacitor/android/variables.gradle +13 -9
  23. package/examples/capacitor/capacitor.config.json +15 -0
  24. package/examples/capacitor/index.tsx +15 -23
  25. package/examples/capacitor/ios/App/App/AppDelegate.swift +5 -40
  26. package/examples/capacitor/ios/App/App/Info.plist +18 -2
  27. package/examples/capacitor/ios/App/App/SceneDelegate.swift +23 -0
  28. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +25 -85
  29. package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +1 -0
  30. package/examples/capacitor/package-lock.json +1075 -1935
  31. package/examples/capacitor/package.json +14 -19
  32. package/examples/capacitor/scripts/android.sh +5 -8
  33. package/examples/capacitor/scripts/ios.sh +5 -7
  34. package/examples/capacitor/scripts/setup.sh +2 -6
  35. package/examples/capacitor/src/main.css +5 -1
  36. package/examples/capacitor/vite.config.ts +0 -12
  37. package/examples/ionic/README.md +2 -0
  38. package/examples/ionic/config.xml +1 -1
  39. package/examples/ionic/index.tsx +8 -3
  40. package/examples/ionic/package-lock.json +6445 -12138
  41. package/examples/ionic/package.json +23 -27
  42. package/examples/ionic/scripts/android.sh +0 -2
  43. package/examples/ionic/scripts/ios.sh +0 -2
  44. package/examples/ionic/scripts/setup.sh +0 -2
  45. package/examples/ionic/tsconfig.json +0 -1
  46. package/examples/react_native/README.md +2 -0
  47. package/examples/react_native/app.config.ts +0 -1
  48. package/examples/react_native/package-lock.json +2108 -3737
  49. package/examples/react_native/package.json +19 -17
  50. package/examples/react_native/scripts/android.sh +8 -6
  51. package/examples/react_native/scripts/ios.sh +7 -5
  52. package/examples/react_native/scripts/setup.sh +7 -4
  53. package/ios/CDVFaceSDK.swift +6 -1
  54. package/ios/Config.swift +1 -3
  55. package/ios/Decoder.swift +1 -1
  56. package/ios/Implementation.swift +4 -4
  57. package/ios/RNFaceSDK.swift +2 -2
  58. package/package.json +1 -1
  59. package/plugin.xml +11 -11
  60. package/react-native-face-sdk.podspec +14 -0
  61. package/test/json.tsx +0 -20
  62. package/test/package-lock.json +2 -5
  63. package/test/test.tsx +0 -2
  64. package/www/capacitor/internal/cordova.js +2 -2
  65. package/www/capacitor/liveness/verification_config.js +2 -18
  66. package/www/capacitor/person_database/search_person_filter.js +1 -1
  67. package/www/cordova.js +5 -21
  68. package/www/react-native/liveness/verification_config.js +2 -18
  69. package/www/react-native/person_database/search_person_filter.js +1 -1
  70. package/www/types/liveness/verification_config.d.ts +2 -27
  71. package/www/types/person_database/search_person_filter.d.ts +2 -2
  72. package/RNFaceSDK.podspec +0 -21
  73. package/android/build.gradle +0 -36
  74. package/android/cordova.gradle +0 -18
  75. package/examples/capacitor/android/app/capacitor.build.gradle +0 -21
  76. package/examples/capacitor/android/capacitor.settings.gradle +0 -12
  77. package/examples/capacitor/ionic.config.json +0 -7
  78. package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +0 -19
  79. package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -10
  80. package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  81. package/examples/capacitor/ios/App/Podfile +0 -31
  82. package/examples/capacitor/ios/App/Podfile.lock +0 -57
  83. package/examples/react_native/vendor/image-size-metro-compat/index.cjs +0 -16
  84. package/examples/react_native/vendor/image-size-metro-compat/package.json +0 -8
@@ -1,36 +0,0 @@
1
- apply plugin: 'com.android.library'
2
- apply plugin: 'kotlin-android'
3
-
4
- android {
5
- // Conditional for compatibility with AGP <4.2.
6
- if (project.android.hasProperty("namespace")) {
7
- namespace 'com.regula.plugin.facesdk'
8
- }
9
-
10
- compileSdk 36
11
-
12
- defaultConfig {
13
- minSdkVersion 24
14
- targetSdk 36
15
- versionCode 1
16
- versionName "1.0"
17
- }
18
- }
19
-
20
- rootProject.allprojects {
21
- repositories {
22
- maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
24
- }
25
- }
26
- }
27
-
28
- dependencies {
29
- //noinspection GradleDynamicVersion
30
- implementation 'com.facebook.react:react-native:+'
31
- //noinspection GradleDependency
32
- implementation('com.regula.face:api:8.3.5405'){
33
- transitive = true
34
- }
35
- }
36
-
@@ -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/Stage"
10
- }
11
- }
12
-
13
- dependencies {
14
- //noinspection GradleDependency
15
- implementation('com.regula.face:api:8.3.5405'){
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,7 +0,0 @@
1
- {
2
- "name": "FaceSDK",
3
- "integrations": {
4
- "capacitor": {}
5
- },
6
- "type": "react-vite"
7
- }
@@ -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,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:App.xcodeproj">
6
- </FileRef>
7
- <FileRef
8
- location = "group:Pods/Pods.xcodeproj">
9
- </FileRef>
10
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -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
@@ -1,8 +0,0 @@
1
- {
2
- "name": "image-size",
3
- "version": "2.1.1-compat.0",
4
- "main": "index.cjs",
5
- "dependencies": {
6
- "image-size-next": "2.1.1"
7
- }
8
- }