@regulaforensics/face-sdk 7.1.274-rc → 7.1.277-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 (69) hide show
  1. package/README.md +1 -1
  2. package/RNFaceSDK.podspec +1 -1
  3. package/examples/capacitor/package.json +2 -2
  4. package/examples/capacitor/src/main.css +9 -3
  5. package/examples/capacitor/src/main.html +15 -12
  6. package/examples/cordova/package.json +2 -2
  7. package/examples/cordova/www/src/main.css +9 -3
  8. package/examples/cordova/www/src/main.html +15 -12
  9. package/examples/ionic/package.json +2 -2
  10. package/examples/ionic/src/main.css +9 -3
  11. package/examples/ionic/src/main.html +15 -12
  12. package/examples/{react-native → react_native}/README.md +2 -2
  13. package/examples/react_native/app.config.ts +38 -0
  14. package/examples/react_native/images/icon/adaptive-icon.png +0 -0
  15. package/examples/react_native/images/icon/icon.png +0 -0
  16. package/examples/react_native/index.tsx +52 -0
  17. package/examples/react_native/metro.config.js +7 -0
  18. package/examples/{react-native → react_native}/package-lock.json +3927 -2812
  19. package/examples/react_native/package.json +26 -0
  20. package/examples/{react-native → react_native}/scripts/android.sh +2 -3
  21. package/examples/{react-native → react_native}/scripts/ios.sh +3 -4
  22. package/examples/react_native/scripts/setup.sh +10 -0
  23. package/examples/{react-native → react_native}/src/main.css +9 -3
  24. package/examples/react_native/src/main.html +25 -0
  25. package/examples/{react-native → react_native}/src/main.tsx +2 -2
  26. package/package.json +1 -1
  27. package/plugin.xml +1 -1
  28. package/examples/react-native/.vscode/launch.json +0 -26
  29. package/examples/react-native/Gemfile +0 -16
  30. package/examples/react-native/Gemfile.lock +0 -144
  31. package/examples/react-native/android/app/build.gradle +0 -55
  32. package/examples/react-native/android/app/debug.keystore +0 -0
  33. package/examples/react-native/android/app/src/main/AndroidManifest.xml +0 -27
  34. package/examples/react-native/android/app/src/main/java/com/regula/documentreader/MainActivity.kt +0 -22
  35. package/examples/react-native/android/app/src/main/java/com/regula/documentreader/MainApplication.kt +0 -44
  36. package/examples/react-native/android/app/src/main/res/drawable/ic_launcher.png +0 -0
  37. package/examples/react-native/android/app/src/main/res/drawable/ic_launcher_round.png +0 -0
  38. package/examples/react-native/android/build.gradle +0 -21
  39. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  40. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  41. package/examples/react-native/android/gradle.properties +0 -5
  42. package/examples/react-native/android/gradlew +0 -251
  43. package/examples/react-native/android/gradlew.bat +0 -92
  44. package/examples/react-native/android/settings.gradle +0 -6
  45. package/examples/react-native/index.tsx +0 -51
  46. package/examples/react-native/ios/.xcode.env +0 -11
  47. package/examples/react-native/ios/App/AppDelegate.h +0 -6
  48. package/examples/react-native/ios/App/AppDelegate.mm +0 -31
  49. package/examples/react-native/ios/App/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  50. package/examples/react-native/ios/App/Images.xcassets/Contents.json +0 -6
  51. package/examples/react-native/ios/App/Info.plist +0 -51
  52. package/examples/react-native/ios/App/LaunchScreen.storyboard +0 -47
  53. package/examples/react-native/ios/App/PrivacyInfo.xcprivacy +0 -38
  54. package/examples/react-native/ios/App/main.m +0 -10
  55. package/examples/react-native/ios/App.xcodeproj/project.pbxproj +0 -502
  56. package/examples/react-native/ios/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme +0 -70
  57. package/examples/react-native/ios/App.xcworkspace/contents.xcworkspacedata +0 -10
  58. package/examples/react-native/ios/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  59. package/examples/react-native/ios/Podfile +0 -37
  60. package/examples/react-native/ios/Podfile.lock +0 -1891
  61. package/examples/react-native/ios/license/.gitkeep +0 -0
  62. package/examples/react-native/metro.config.js +0 -20
  63. package/examples/react-native/package.json +0 -22
  64. package/examples/react-native/patches/react-native-webview+13.13.5.patch +0 -36
  65. package/examples/react-native/scripts/setup.sh +0 -8
  66. package/examples/react-native/src/main.html +0 -22
  67. /package/examples/{react-native/android/app/src/main → react_native}/assets/.gitkeep +0 -0
  68. /package/examples/{react-native → react_native}/images/portrait.png +0 -0
  69. /package/examples/{react-native → react_native}/index.html +0 -0
File without changes
@@ -1,20 +0,0 @@
1
- const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config')
2
- const path = require('path')
3
-
4
- const folders = [
5
- path.resolve(path.join(__dirname, './node_modules'))
6
- ]
7
-
8
- module.exports = (async () => {
9
- const {
10
- resolver: { sourceExts, assetExts },
11
- } = await getDefaultConfig();
12
- return mergeConfig(getDefaultConfig(__dirname), {
13
- resolver: {
14
- assetExts: [assetExts, 'css', 'html', 'png'],
15
- sourceExts: [...sourceExts, 'css', 'html', 'png'],
16
- nodeModulesPaths: folders,
17
- },
18
- watchFolders: folders,
19
- })
20
- })();
@@ -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.274-rc",
12
- "@regulaforensics/face-core-basic": "7.1.137-rc",
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>