@regulaforensics/face-sdk 6.5.56-beta → 6.5.64-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.
package/RNFaceSDK.podspec CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNFaceSDK'
8
- s.version = '6.5.56-beta'
8
+ s.version = '6.5.64-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -3,13 +3,13 @@
3
3
  ## How to build demo application
4
4
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
5
 
6
- 2. Run `npm run setup` within this directory.
6
+ 2. Execute `npm run setup` within this directory.
7
7
 
8
8
  3. Run the app:
9
- * Android: use command `ionic cap run android`.
10
- * IOS: use command `ionic cap run ios`.
9
+ * IOS: `npm run ios`.
10
+ * Android: `npm run android`.
11
11
 
12
- **Note**: this is just one way of running the app. You can also run it directly from Xcode and Android Studio, but in this case make sure to run `ionic cap sync` before building if any changes were make to the project.
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
13
 
14
14
 
15
15
  ## How to use offine match
@@ -4,9 +4,9 @@
4
4
  "version": "1.0.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
- "setup": "npm install",
8
- "android": "ionic cap run android --open",
9
- "ios": "ionic cap run ios --open",
7
+ "setup": "scripts/setup.sh",
8
+ "ios": "scripts/ios.sh",
9
+ "android": "scripts/android.sh",
10
10
  "dev": "vite",
11
11
  "build": "tsc && vite build",
12
12
  "preview": "vite preview",
@@ -15,7 +15,7 @@
15
15
  "lint": "eslint"
16
16
  },
17
17
  "dependencies": {
18
- "@regulaforensics/face-sdk": "6.5.56-beta",
18
+ "@regulaforensics/face-sdk": "6.5.64-beta",
19
19
  "@regulaforensics/face-core-basic": "6.3.12-beta",
20
20
  "@awesome-cordova-plugins/camera": "6.6.0",
21
21
  "@awesome-cordova-plugins/file": "6.6.0",
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ if [[ $npm_config_o || $npm_config_open ]]; then
5
+ ionic cap sync android
6
+ studio android || open -a 'Android Studio' android
7
+ else
8
+ ionic cap run android
9
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ if [[ $npm_config_o || $npm_config_open ]]; then
5
+ ionic cap run ios --open
6
+ else
7
+ ionic cap run ios
8
+ fi
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ npm install
@@ -3,13 +3,13 @@
3
3
  ## How to build demo application
4
4
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
5
 
6
- 2. Run `npm run setup` within this directory.
6
+ 2. Execute `npm run setup` within this directory.
7
7
 
8
8
  3. Run the app:
9
- * Android: use command `npm run android`.
10
- * IOS: use command `npm run ios`.
9
+ * IOS: `npm run ios`.
10
+ * Android: `npm run android`.
11
11
 
12
- **Note**: this is just one way of running the app. You can also run it directly from Xcode and Android Studio, but in this case make sure to run `cordova prepare ios` and `cordova prepare android` before building if any changes were make to the project.
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
13
 
14
14
 
15
15
  ## How to use offine match
@@ -4,17 +4,12 @@
4
4
  "version": "1.0.0",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "setup": "npm install && cordova prepare",
8
- "android": "cordova run android",
9
- "ios": "cordova run ios"
7
+ "setup": "scripts/setup.sh",
8
+ "ios": "scripts/ios.sh",
9
+ "android": "scripts/android.sh"
10
10
  },
11
- "keywords": [
12
- "ecosystem:cordova"
13
- ],
14
- "author": "Regula Forensics Inc.",
15
- "license": "commercial",
16
11
  "dependencies": {
17
- "@regulaforensics/face-sdk": "6.5.56-beta",
12
+ "@regulaforensics/face-sdk": "6.5.64-beta",
18
13
  "@regulaforensics/face-core-basic": "6.3.12-beta",
19
14
  "cordova-android": "13.0.0",
20
15
  "cordova-ios": "7.1.1",
@@ -36,4 +31,4 @@
36
31
  "ios"
37
32
  ]
38
33
  }
39
- }
34
+ }
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if [[ $npm_config_o || $npm_config_open ]]; then
4
+ cordova prepare android
5
+ studio platforms/android || open -a 'Android Studio' platforms/android
6
+ else
7
+ cordova run android
8
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if [[ $npm_config_o || $npm_config_open ]]; then
4
+ cordova prepare ios
5
+ open platforms/ios/FaceSDK.xcworkspace
6
+ else
7
+ cordova run ios
8
+ fi
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ npm install
5
+ cordova prepare
@@ -3,13 +3,13 @@
3
3
  ## How to build demo application
4
4
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
5
 
6
- 2. Run `npm run setup` within this directory.
6
+ 2. Execute `npm run setup` within this directory.
7
7
 
8
8
  3. Run the app:
9
- * Android: use command `npm run android`.
10
- * IOS: use command `npm run ios`.
9
+ * IOS: `npm run ios`.
10
+ * Android: `npm run android`.
11
11
 
12
- **Note**: this is just one way of running the app. You can also run it directly from Xcode and Android Studio, but in this case make sure to run `ionic cordova prepare ios` and `ionic cordova prepare android` before building if any changes were make to the project.
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
13
 
14
14
 
15
15
  ## How to use offine match
@@ -4,9 +4,9 @@
4
4
  "author": "Ionic Framework",
5
5
  "homepage": "https://ionicframework.com/",
6
6
  "scripts": {
7
- "setup": "npm install && ionic cordova prepare",
8
- "android": "ionic cordova run android",
9
- "ios": "ionic cordova run ios",
7
+ "setup": "scripts/setup.sh",
8
+ "ios": "scripts/ios.sh",
9
+ "android": "scripts/android.sh",
10
10
  "ng": "ng",
11
11
  "start": "ng serve",
12
12
  "build": "ng build",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "private": true,
18
18
  "dependencies": {
19
- "@regulaforensics/face-sdk": "6.5.56-beta",
19
+ "@regulaforensics/face-sdk": "6.5.64-beta",
20
20
  "@regulaforensics/face-core-basic": "6.3.12-beta",
21
21
  "cordova-plugin-camera": "8.0.0",
22
22
  "@awesome-cordova-plugins/camera": "6.14.0",
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if [[ $npm_config_o || $npm_config_open ]]; then
4
+ ionic cordova prepare android
5
+ studio platforms/android || open -a 'Android Studio' platforms/android
6
+ else
7
+ ionic cordova run android
8
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if [[ $npm_config_o || $npm_config_open ]]; then
4
+ ionic cordova prepare ios
5
+ open platforms/ios/FaceSDK.xcworkspace
6
+ else
7
+ ionic cordova run ios
8
+ fi
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ npm install
5
+ ionic cordova prepare
@@ -3,13 +3,13 @@
3
3
  ## How to build demo application
4
4
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
5
 
6
- 2. Run `npm run setup` within this directory.
6
+ 2. Execute `npm run setup` within this directory.
7
7
 
8
8
  3. Run the app:
9
- * Android: use command `npm run android`.
10
- * IOS: use command `npm run ios`.
9
+ * IOS: `npm run ios`.
10
+ * Android: `npm run android`.
11
11
 
12
- **Note**: this is just one way of running the app. You can also run it directly from Xcode and Android Studio, but in this case make sure that Metro Bundler is running(`npm start`).
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. Just don't forget to make sure that Metro Bundler is running(`npm start`).
13
13
 
14
14
 
15
15
  ## How to use offine match