@regulaforensics/face-sdk 7.2.404-beta → 7.2.414-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 (47) hide show
  1. package/README.md +2 -3
  2. package/RNFaceSDK.podspec +2 -2
  3. package/android/build.gradle +2 -2
  4. package/android/cordova.gradle +2 -2
  5. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +2 -2
  6. package/examples/capacitor/index.html +2 -7
  7. package/examples/capacitor/index.tsx +53 -0
  8. package/examples/capacitor/package.json +3 -3
  9. package/examples/capacitor/scripts/setup.sh +4 -2
  10. package/examples/capacitor/src/main.css +60 -6
  11. package/examples/capacitor/src/main.html +1 -1
  12. package/examples/capacitor/src/main.tsx +51 -87
  13. package/examples/ionic/angular.json +3 -3
  14. package/examples/ionic/config.xml +1 -1
  15. package/examples/ionic/index.tsx +68 -0
  16. package/examples/ionic/package.json +2 -2
  17. package/examples/ionic/src/main.css +60 -6
  18. package/examples/ionic/src/main.html +1 -1
  19. package/examples/ionic/src/{main.ts → main.tsx} +52 -97
  20. package/examples/ionic/tsconfig.json +3 -2
  21. package/examples/react_native/index.tsx +49 -7
  22. package/examples/react_native/package.json +9 -9
  23. package/examples/react_native/src/main.css +60 -6
  24. package/examples/react_native/src/main.html +1 -1
  25. package/examples/react_native/src/main.tsx +54 -77
  26. package/package.json +1 -1
  27. package/plugin.xml +2 -2
  28. package/test/package-lock.json +1 -1
  29. package/examples/cordova/.vscode/launch.json +0 -28
  30. package/examples/cordova/README.md +0 -25
  31. package/examples/cordova/config.xml +0 -26
  32. package/examples/cordova/package-lock.json +0 -1327
  33. package/examples/cordova/package.json +0 -30
  34. package/examples/cordova/scripts/android.sh +0 -8
  35. package/examples/cordova/scripts/ios.sh +0 -8
  36. package/examples/cordova/scripts/setup.sh +0 -8
  37. package/examples/cordova/www/images/logo.png +0 -0
  38. package/examples/cordova/www/index.html +0 -21
  39. package/examples/cordova/www/src/main.css +0 -83
  40. package/examples/cordova/www/src/main.html +0 -25
  41. package/examples/cordova/www/src/main.js +0 -152
  42. package/examples/ionic/index.ts +0 -17
  43. package/examples/ionic/src/images/portrait.png +0 -0
  44. package/examples/react_native/package-lock.json +0 -9296
  45. /package/examples/ionic/{src/assets → assets}/.gitkeep +0 -0
  46. /package/examples/ionic/{src/images → images}/icon.png +0 -0
  47. /package/examples/{cordova/www → ionic}/images/portrait.png +0 -0
@@ -1,25 +0,0 @@
1
- # Regula Face SDK Cordova demo application
2
-
3
- ## How to build demo application
4
- 1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
-
6
- 2. Execute `npm run setup` within this directory.
7
-
8
- 3. Run the app:
9
- * IOS: `npm run ios`.
10
- * Android: `npm run android`.
11
-
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.
13
-
14
-
15
- ## How to use offline match
16
- 1. Place a license that supports offline match at `www/regula.license`.
17
-
18
- 2. Change core with the following commands:
19
- ```bash
20
- cordova plugin remove @regulaforensics/face-core-basic
21
- cordova plugin add @regulaforensics/face-core-match
22
- npm run setup
23
- ```
24
-
25
- 3. Turn off the internet and run the app.
@@ -1,26 +0,0 @@
1
- <widget android-packageName="com.regula.documentreader.api.androidtest" ios-CFBundleIdentifier="com.regula.documentreader.qa" version="1.0.0"
2
- xmlns:android="http://schemas.android.com/apk/res/android">
3
- <name>FaceSDK</name>
4
- <platform name="android">
5
- <preference name="orientation" value="portrait" />
6
- <preference name="GradlePluginKotlinEnabled" value="true" />
7
- <preference name="android-minSdkVersion" value="24" />
8
- <preference name="android-targetSdkVersion" value="35" />
9
- <config-file parent="/*" target="AndroidManifest.xml">
10
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
11
- </config-file>
12
- <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
13
- <application android:usesCleartextTraffic="true" />
14
- </edit-config>
15
- </platform>
16
- <platform name="ios">
17
- <preference name="orientation" value="portrait" />
18
- <preference name="DisallowOverscroll" value="true" />
19
- <config-file target="*-Info.plist" parent="NSCameraUsageDescription">
20
- <string>To use camera</string>
21
- </config-file>
22
- <config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
23
- <string>To pick images</string>
24
- </config-file>
25
- </platform>
26
- </widget>