@regulaforensics/face-sdk 7.1.253-beta → 7.1.265-beta

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 (71) hide show
  1. package/README.md +1 -1
  2. package/RNFaceSDK.podspec +1 -1
  3. package/android/build.gradle +1 -1
  4. package/android/cordova.gradle +1 -1
  5. package/examples/capacitor/package.json +1 -1
  6. package/examples/capacitor/src/main.css +9 -3
  7. package/examples/capacitor/src/main.html +15 -12
  8. package/examples/cordova/package.json +1 -1
  9. package/examples/cordova/www/src/main.css +9 -3
  10. package/examples/cordova/www/src/main.html +15 -12
  11. package/examples/ionic/package.json +1 -1
  12. package/examples/ionic/src/main.css +9 -3
  13. package/examples/ionic/src/main.html +15 -12
  14. package/examples/{react-native → react_native}/README.md +2 -2
  15. package/examples/react_native/app.json +73 -0
  16. package/examples/react_native/images/icon/adaptive-icon.png +0 -0
  17. package/examples/react_native/images/icon/icon.png +0 -0
  18. package/examples/react_native/index.tsx +52 -0
  19. package/examples/react_native/metro.config.js +7 -0
  20. package/examples/react_native/package.json +26 -0
  21. package/examples/{react-native → react_native}/scripts/android.sh +2 -3
  22. package/examples/{react-native → react_native}/scripts/ios.sh +3 -4
  23. package/examples/react_native/scripts/setup.sh +5 -0
  24. package/examples/{react-native → react_native}/src/main.css +9 -3
  25. package/examples/react_native/src/main.html +25 -0
  26. package/examples/{react-native → react_native}/src/main.tsx +2 -2
  27. package/examples/react_native/tsconfig.json +4 -0
  28. package/package.json +1 -1
  29. package/plugin.xml +1 -1
  30. package/examples/react-native/.vscode/launch.json +0 -26
  31. package/examples/react-native/Gemfile +0 -16
  32. package/examples/react-native/android/app/build.gradle +0 -55
  33. package/examples/react-native/android/app/debug.keystore +0 -0
  34. package/examples/react-native/android/app/src/main/AndroidManifest.xml +0 -27
  35. package/examples/react-native/android/app/src/main/java/com/regula/documentreader/MainActivity.kt +0 -22
  36. package/examples/react-native/android/app/src/main/java/com/regula/documentreader/MainApplication.kt +0 -44
  37. package/examples/react-native/android/app/src/main/res/drawable/ic_launcher.png +0 -0
  38. package/examples/react-native/android/app/src/main/res/drawable/ic_launcher_round.png +0 -0
  39. package/examples/react-native/android/build.gradle +0 -21
  40. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  41. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  42. package/examples/react-native/android/gradle.properties +0 -5
  43. package/examples/react-native/android/gradlew +0 -251
  44. package/examples/react-native/android/gradlew.bat +0 -92
  45. package/examples/react-native/android/settings.gradle +0 -6
  46. package/examples/react-native/index.tsx +0 -51
  47. package/examples/react-native/ios/.xcode.env +0 -11
  48. package/examples/react-native/ios/App/AppDelegate.h +0 -6
  49. package/examples/react-native/ios/App/AppDelegate.mm +0 -31
  50. package/examples/react-native/ios/App/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  51. package/examples/react-native/ios/App/Images.xcassets/Contents.json +0 -6
  52. package/examples/react-native/ios/App/Info.plist +0 -51
  53. package/examples/react-native/ios/App/LaunchScreen.storyboard +0 -47
  54. package/examples/react-native/ios/App/PrivacyInfo.xcprivacy +0 -38
  55. package/examples/react-native/ios/App/main.m +0 -10
  56. package/examples/react-native/ios/App.xcodeproj/project.pbxproj +0 -502
  57. package/examples/react-native/ios/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme +0 -70
  58. package/examples/react-native/ios/App.xcworkspace/contents.xcworkspacedata +0 -10
  59. package/examples/react-native/ios/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  60. package/examples/react-native/ios/Podfile +0 -37
  61. package/examples/react-native/ios/Podfile.lock +0 -1891
  62. package/examples/react-native/ios/license/.gitkeep +0 -0
  63. package/examples/react-native/metro.config.js +0 -20
  64. package/examples/react-native/package-lock.json +0 -8181
  65. package/examples/react-native/package.json +0 -22
  66. package/examples/react-native/patches/react-native-webview+13.13.5.patch +0 -36
  67. package/examples/react-native/scripts/setup.sh +0 -8
  68. package/examples/react-native/src/main.html +0 -22
  69. /package/examples/{react-native/android/app/src/main → react_native}/assets/.gitkeep +0 -0
  70. /package/examples/{react-native → react_native}/images/portrait.png +0 -0
  71. /package/examples/{react-native → react_native}/index.html +0 -0
@@ -1,22 +0,0 @@
1
- {
2
- "name": "face-sdk",
3
- "scripts": {
4
- "setup": "scripts/setup.sh",
5
- "postinstall": "patch-package",
6
- "ios": "scripts/ios.sh",
7
- "android": "scripts/android.sh",
8
- "start": "react-native start"
9
- },
10
- "dependencies": {
11
- "@regulaforensics/face-sdk": "7.1.253-beta",
12
- "@regulaforensics/face-core-basic": "7.1.99-beta",
13
- "react-native-fs": "2.20.0",
14
- "react-native-image-picker": "8.2.0",
15
- "react": "19.1.0",
16
- "react-native": "0.78.1",
17
- "@react-native/metro-config": "0.78.1",
18
- "@react-native-community/cli": "15.1.3",
19
- "react-native-webview": "13.13.5",
20
- "patch-package": "8.0.0"
21
- }
22
- }
@@ -1,36 +0,0 @@
1
- diff --git a/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java b/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java
2
- index ff2cba5..47f3777 100644
3
- --- a/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java
4
- +++ b/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java
5
- @@ -313,6 +313,12 @@ public class RNCWebViewManager extends ViewGroupManager<RNCWebViewWrapper>
6
- mRNCWebViewManagerImpl.setSource(view, value);
7
- }
8
-
9
- + @Override
10
- + @ReactProp(name = "source")
11
- + public void setSource(RNCWebViewWrapper view, @Nullable ReadableMap value) {
12
- + mRNCWebViewManagerImpl.setSource(view, value);
13
- + }
14
- +
15
- @Override
16
- @ReactProp(name = "textZoom")
17
- public void setTextZoom(RNCWebViewWrapper view, int value) {
18
- diff --git a/node_modules/react-native-webview/src/RNCWebViewNativeComponent.ts b/node_modules/react-native-webview/src/RNCWebViewNativeComponent.ts
19
- index be8ba08..e03fce4 100644
20
- --- a/node_modules/react-native-webview/src/RNCWebViewNativeComponent.ts
21
- +++ b/node_modules/react-native-webview/src/RNCWebViewNativeComponent.ts
22
- @@ -290,6 +290,14 @@ export interface NativeProps extends ViewProps {
23
- html?: string;
24
- baseUrl?: string;
25
- }>;
26
- + source: Readonly<{
27
- + uri?: string;
28
- + method?: string;
29
- + body?: string;
30
- + headers?: ReadonlyArray<Readonly<{ name: string; value: string }>>;
31
- + html?: string;
32
- + baseUrl?: string;
33
- + }>;
34
- userAgent?: string;
35
- injectedJavaScriptObject?: string;
36
- }
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -e
3
-
4
- npm install
5
- cd ios
6
- bundle install
7
- RCT_NEW_ARCH_ENABLED=1 bundle exec pod install ||
8
- RCT_NEW_ARCH_ENABLED=1 bundle exec pod update
@@ -1,22 +0,0 @@
1
- <div class="page">
2
- <div class="column header">
3
- <span id="status" class="title">Loading...</span>
4
- <div class="column divider"></div>
5
- </div>
6
- <div id="main" class="column no-scroll">
7
- <div class="column">
8
- <img id="first-image" src="images/portrait.png" width="150px" style="padding: 10px">
9
- <img id="second-image" src="images/portrait.png" width="150px" style="padding: 10px">
10
- </div>
11
- <div class="column" style="padding: 10px">
12
- <button id="match-faces" class="button">Match</button>
13
- <button id="start-liveness" class="button">Liveness</button>
14
- <button id="clear-results" class="button">Clear</button>
15
- </div>
16
- <div>
17
- Similarity: <span style="margin-right: 15px" id="similarity-status">null</span> Liveness: <span
18
- id="liveness-status">null</span>
19
- </div>
20
- <div style="padding-top: 100px;"></div>
21
- </div>
22
- </div>