@regulaforensics/face-sdk 7.1.211-rc → 7.1.252-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/README.md +1 -1
- package/RNFaceSDK.podspec +3 -3
- package/android/CVDFaceSDK.kt +22 -8
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/facesdk/Config.kt +9 -1
- package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +2 -0
- package/android/src/main/java/com/regula/plugin/facesdk/Main.kt +15 -9
- package/android/src/main/java/com/regula/plugin/facesdk/RNFaceApiModule.kt +16 -6
- package/android/src/main/java/com/regula/plugin/facesdk/Utils.kt +32 -2
- package/examples/capacitor/README.md +3 -8
- package/examples/capacitor/android/app/build.gradle +2 -6
- package/examples/capacitor/android/app/capacitor.build.gradle +4 -4
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +3 -16
- package/examples/capacitor/android/app/src/main/java/com/regula/{faceapi → documentreader}/MainActivity.java +1 -1
- package/examples/capacitor/android/app/src/main/res/values/strings.xml +2 -2
- package/examples/capacitor/android/build.gradle +1 -1
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/examples/capacitor/android/gradlew +21 -13
- package/examples/capacitor/android/gradlew.bat +12 -10
- package/examples/capacitor/android/variables.gradle +11 -11
- package/examples/capacitor/index.html +8 -104
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +4 -4
- package/examples/capacitor/ios/App/Podfile +2 -3
- package/examples/capacitor/ios/App/Podfile.lock +57 -0
- package/examples/capacitor/package-lock.json +3536 -0
- package/examples/capacitor/package.json +19 -56
- package/examples/capacitor/public/images/portrait.png +0 -0
- package/examples/capacitor/scripts/setup.sh +2 -0
- package/examples/capacitor/src/main.css +77 -0
- package/examples/capacitor/src/main.html +22 -0
- package/examples/capacitor/src/main.tsx +152 -11
- package/examples/capacitor/tsconfig.json +1 -17
- package/examples/capacitor/vite.config.ts +10 -9
- package/examples/cordova/README.md +4 -6
- package/examples/cordova/config.xml +4 -15
- package/examples/cordova/package-lock.json +1333 -0
- package/examples/cordova/package.json +8 -12
- package/examples/cordova/scripts/setup.sh +4 -1
- package/examples/cordova/www/images/portrait.png +0 -0
- package/examples/cordova/www/index.html +19 -92
- package/examples/cordova/www/src/main.css +77 -0
- package/examples/cordova/www/src/main.html +22 -0
- package/examples/cordova/www/{js/index.js → src/main.js} +41 -43
- package/examples/ionic/README.md +3 -6
- package/examples/ionic/angular.json +6 -154
- package/examples/ionic/config.xml +4 -93
- package/examples/ionic/index.html +19 -0
- package/examples/ionic/index.ts +17 -0
- package/examples/ionic/package-lock.json +13777 -0
- package/examples/ionic/package.json +24 -75
- package/examples/ionic/scripts/setup.sh +4 -1
- package/examples/ionic/src/images/portrait.png +0 -0
- package/examples/ionic/src/main.css +77 -0
- package/examples/ionic/src/main.html +22 -0
- package/examples/ionic/src/main.ts +157 -8
- package/examples/ionic/tsconfig.json +6 -20
- package/examples/react-native/Gemfile +7 -0
- package/examples/react-native/Gemfile.lock +28 -21
- package/examples/react-native/README.md +4 -10
- package/examples/react-native/android/app/build.gradle +2 -70
- package/examples/react-native/android/app/src/main/AndroidManifest.xml +21 -21
- package/examples/react-native/android/app/src/main/java/com/regula/{face/api → documentreader}/MainActivity.kt +2 -2
- package/examples/react-native/android/app/src/main/java/com/regula/{face/api → documentreader}/MainApplication.kt +1 -1
- package/examples/react-native/android/build.gradle +3 -3
- package/examples/react-native/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/react-native/android/gradle.properties +0 -34
- package/examples/react-native/android/gradlew +1 -2
- package/examples/react-native/android/settings.gradle +1 -1
- package/examples/react-native/images/portrait.png +0 -0
- package/examples/react-native/index.html +11 -0
- package/examples/react-native/index.tsx +51 -0
- package/examples/react-native/ios/{FaceSDK → App}/AppDelegate.mm +1 -1
- package/examples/react-native/ios/{FaceSDK.xcodeproj → App.xcodeproj}/project.pbxproj +52 -269
- package/examples/react-native/ios/{FaceSDK.xcodeproj/xcshareddata/xcschemes/FaceSDK.xcscheme → App.xcodeproj/xcshareddata/xcschemes/App.xcscheme} +9 -27
- package/examples/react-native/ios/{FaceSDK.xcworkspace → App.xcworkspace}/contents.xcworkspacedata +1 -1
- package/examples/react-native/ios/Podfile +3 -6
- package/examples/react-native/ios/Podfile.lock +565 -512
- package/examples/react-native/metro.config.js +16 -11
- package/examples/react-native/package-lock.json +2121 -6901
- package/examples/react-native/package.json +12 -34
- package/examples/react-native/patches/react-native-webview+13.13.5.patch +36 -0
- package/examples/react-native/scripts/android.sh +5 -0
- package/examples/react-native/scripts/ios.sh +5 -1
- package/examples/react-native/src/main.css +77 -0
- package/examples/react-native/src/main.html +22 -0
- package/examples/react-native/{App.tsx → src/main.tsx} +19 -86
- package/ios/RFSWConfig.m +7 -1
- package/ios/RFSWJSONConstructor.h +2 -0
- package/ios/RFSWJSONConstructor.m +32 -15
- package/ios/RFSWMain.m +1 -1
- package/package.json +1 -1
- package/plugin.xml +4 -4
- package/www/capacitor/detect_faces/detect_faces_request.js +2 -0
- package/www/capacitor/face_capture/face_capture_config.js +6 -2
- package/www/capacitor/image_quality/image_quality_characteristic.js +2 -0
- package/www/capacitor/image_quality/image_quality_group.js +1 -0
- package/www/capacitor/init/init_config.js +8 -0
- package/www/capacitor/internal/bridge.js +8 -7
- package/www/capacitor/liveness/liveness_backend_exception.js +8 -0
- package/www/capacitor/liveness/liveness_config.js +3 -3
- package/www/capacitor/person_database/person_database.js +1 -1
- package/www/cordova.js +109 -80
- package/www/react-native/detect_faces/detect_faces_request.js +2 -0
- package/www/react-native/face_capture/face_capture_config.js +6 -2
- package/www/react-native/image_quality/image_quality_characteristic.js +2 -0
- package/www/react-native/image_quality/image_quality_group.js +1 -0
- package/www/react-native/init/init_config.js +8 -0
- package/www/react-native/internal/bridge.js +8 -7
- package/www/react-native/liveness/liveness_backend_exception.js +8 -0
- package/www/react-native/liveness/liveness_config.js +3 -3
- package/www/react-native/person_database/person_database.js +1 -1
- package/www/types/face_capture/face_capture_config.d.ts +6 -1
- package/www/types/init/init_config.d.ts +7 -1
- package/www/types/liveness/liveness_backend_exception.d.ts +9 -1
- package/www/types/liveness/liveness_config.d.ts +1 -1
- package/www/types/person_database/person_database.d.ts +1 -1
- package/.gitlab/report.yaml +0 -75
- package/.gitlab-ci.yml +0 -49
- package/examples/capacitor/.browserslistrc +0 -6
- package/examples/capacitor/.eslintrc.js +0 -17
- package/examples/capacitor/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
- package/examples/capacitor/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
- package/examples/capacitor/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/examples/capacitor/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/examples/capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
- package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +0 -5
- package/examples/capacitor/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
- package/examples/capacitor/capacitor.config.ts +0 -12
- package/examples/capacitor/cypress/e2e/test.cy.ts +0 -6
- package/examples/capacitor/cypress/fixtures/example.json +0 -5
- package/examples/capacitor/cypress/support/commands.ts +0 -37
- package/examples/capacitor/cypress/support/e2e.ts +0 -20
- package/examples/capacitor/cypress.config.ts +0 -10
- package/examples/capacitor/public/assets/img/id.png +0 -0
- package/examples/capacitor/public/assets/img/portrait.png +0 -0
- package/examples/capacitor/public/favicon.png +0 -0
- package/examples/capacitor/public/manifest.json +0 -21
- package/examples/capacitor/src/App.test.tsx +0 -8
- package/examples/capacitor/src/App.tsx +0 -42
- package/examples/capacitor/src/components/ExploreContainer.css +0 -24
- package/examples/capacitor/src/components/ExploreContainer.tsx +0 -14
- package/examples/capacitor/src/pages/Home.tsx +0 -159
- package/examples/capacitor/src/setupTests.ts +0 -14
- package/examples/capacitor/src/theme/variables.css +0 -242
- package/examples/capacitor/src/vite-env.d.ts +0 -1
- package/examples/capacitor/tsconfig.node.json +0 -9
- package/examples/cordova/jsconfig.json +0 -1
- package/examples/cordova/www/css/index.css +0 -107
- package/examples/cordova/www/img/id.png +0 -0
- package/examples/cordova/www/img/portrait.png +0 -0
- package/examples/ionic/browserslist +0 -12
- package/examples/ionic/e2e/protractor.conf.js +0 -28
- package/examples/ionic/e2e/src/app.e2e-spec.ts +0 -14
- package/examples/ionic/e2e/src/app.po.ts +0 -11
- package/examples/ionic/e2e/tsconfig.json +0 -13
- package/examples/ionic/karma.conf.js +0 -31
- package/examples/ionic/resources/README.md +0 -8
- package/examples/ionic/resources/android/icon/drawable-hdpi-icon.png +0 -0
- package/examples/ionic/resources/android/icon/drawable-ldpi-icon.png +0 -0
- package/examples/ionic/resources/android/icon/drawable-mdpi-icon.png +0 -0
- package/examples/ionic/resources/android/icon/drawable-xhdpi-icon.png +0 -0
- package/examples/ionic/resources/android/icon/drawable-xxhdpi-icon.png +0 -0
- package/examples/ionic/resources/android/icon/drawable-xxxhdpi-icon.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-hdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-ldpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-mdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-xhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-xxhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-land-xxxhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-hdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-ldpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-mdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-xhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-xxhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/splash/drawable-port-xxxhdpi-screen.png +0 -0
- package/examples/ionic/resources/android/xml/network_security_config.xml +0 -6
- package/examples/ionic/resources/ios/icon/icon-1024.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-20.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-20@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-20@3x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-24@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-27.5@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-29.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-29@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-29@3x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-40.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-40@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-40@3x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-44@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-50.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-50@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-60.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-60@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-60@3x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-72.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-72@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-76.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-76@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-83.5@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-86@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-98@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-small.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-small@2x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon-small@3x.png +0 -0
- package/examples/ionic/resources/ios/icon/icon.png +0 -0
- package/examples/ionic/resources/ios/icon/icon@2x.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-2436h.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-568h@2x~iphone.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-667h.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-736h.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Landscape-2436h.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Landscape-736h.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Landscape@2x~ipad.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Landscape@~ipadpro.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Landscape~ipad.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Portrait@2x~ipad.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Portrait@~ipadpro.png +0 -0
- package/examples/ionic/resources/ios/splash/Default-Portrait~ipad.png +0 -0
- package/examples/ionic/resources/ios/splash/Default@2x~iphone.png +0 -0
- package/examples/ionic/resources/ios/splash/Default@2x~universal~anyany.png +0 -0
- package/examples/ionic/resources/ios/splash/Default~iphone.png +0 -0
- package/examples/ionic/resources/splash.png +0 -0
- package/examples/ionic/src/app/app-routing.module.ts +0 -15
- package/examples/ionic/src/app/app.component.html +0 -3
- package/examples/ionic/src/app/app.component.spec.ts +0 -47
- package/examples/ionic/src/app/app.component.ts +0 -27
- package/examples/ionic/src/app/app.module.ts +0 -23
- package/examples/ionic/src/app/home/home.module.ts +0 -29
- package/examples/ionic/src/app/home/home.page.html +0 -75
- package/examples/ionic/src/app/home/home.page.scss +0 -1
- package/examples/ionic/src/app/home/home.page.spec.ts +0 -24
- package/examples/ionic/src/app/home/home.page.ts +0 -166
- package/examples/ionic/src/assets/icon/favicon.png +0 -0
- package/examples/ionic/src/assets/img/portrait.png +0 -0
- package/examples/ionic/src/assets/shapes.svg +0 -1
- package/examples/ionic/src/environments/environment.prod.ts +0 -3
- package/examples/ionic/src/environments/environment.ts +0 -16
- package/examples/ionic/src/global.scss +0 -31
- package/examples/ionic/src/index.html +0 -25
- package/examples/ionic/src/polyfills.ts +0 -66
- package/examples/ionic/src/test.ts +0 -20
- package/examples/ionic/src/theme/variables.scss +0 -77
- package/examples/ionic/src/zone-flags.ts +0 -5
- package/examples/ionic/tsconfig.app.json +0 -14
- package/examples/ionic/tsconfig.spec.json +0 -19
- package/examples/ionic/tslint.json +0 -88
- package/examples/react-native/.watchmanconfig +0 -1
- package/examples/react-native/android/app/proguard-rules.pro +0 -10
- package/examples/react-native/android/app/src/debug/AndroidManifest.xml +0 -9
- package/examples/react-native/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/examples/react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/examples/react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/examples/react-native/android/app/src/main/res/values/strings.xml +0 -3
- package/examples/react-native/android/app/src/main/res/values/styles.xml +0 -9
- package/examples/react-native/app.json +0 -5
- package/examples/react-native/index.js +0 -5
- package/examples/react-native/ios/FaceSDKTests/FaceSDKTests.m +0 -66
- package/examples/react-native/ios/FaceSDKTests/Info.plist +0 -24
- /package/examples/capacitor/android/app/src/main/res/{mipmap-xxxhdpi → drawable}/ic_launcher.png +0 -0
- /package/examples/cordova/www/{img → images}/logo.png +0 -0
- /package/examples/ionic/src/{app/app.component.scss → assets/.gitkeep} +0 -0
- /package/examples/ionic/{resources → src/images}/icon.png +0 -0
- /package/examples/react-native/android/app/src/main/res/{mipmap-xxxhdpi → drawable}/ic_launcher.png +0 -0
- /package/examples/react-native/android/app/src/main/res/{mipmap-xxxhdpi → drawable}/ic_launcher_round.png +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/AppDelegate.h +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/Images.xcassets/Contents.json +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/Info.plist +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/LaunchScreen.storyboard +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/PrivacyInfo.xcprivacy +0 -0
- /package/examples/react-native/ios/{FaceSDK → App}/main.m +0 -0
- /package/examples/react-native/ios/{FaceSDK.xcworkspace → App.xcworkspace}/xcshareddata/IDEWorkspaceChecks.plist +0 -0
|
@@ -1,34 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "face-sdk",
|
|
3
|
-
"displayName": "FaceSDK",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"main": "index.js",
|
|
6
3
|
"scripts": {
|
|
7
4
|
"setup": "scripts/setup.sh",
|
|
8
5
|
"ios": "scripts/ios.sh",
|
|
9
6
|
"android": "scripts/android.sh"
|
|
10
7
|
},
|
|
11
8
|
"dependencies": {
|
|
12
|
-
"@regulaforensics/face-sdk": "7.1.
|
|
13
|
-
"@regulaforensics/face-core-basic": "7.1.
|
|
14
|
-
"cordova-android": "13.0.0",
|
|
9
|
+
"@regulaforensics/face-sdk": "7.1.252-beta",
|
|
10
|
+
"@regulaforensics/face-core-basic": "7.1.99-beta",
|
|
15
11
|
"cordova-ios": "7.1.1",
|
|
16
|
-
"cordova-
|
|
12
|
+
"cordova-android": "13.0.0",
|
|
13
|
+
"cordova-plugin-file": "8.1.3",
|
|
17
14
|
"cordova-plugin-camera": "8.0.0",
|
|
18
|
-
"cordova-plugin-dialogs": "2.0.2"
|
|
19
|
-
"cordova-plugin-file": "8.1.3"
|
|
15
|
+
"cordova-plugin-dialogs": "2.0.2"
|
|
20
16
|
},
|
|
21
17
|
"cordova": {
|
|
22
18
|
"plugins": {
|
|
23
19
|
"@regulaforensics/face-sdk": {},
|
|
24
20
|
"@regulaforensics/face-core-basic": {},
|
|
21
|
+
"cordova-plugin-file": {},
|
|
25
22
|
"cordova-plugin-camera": {},
|
|
26
|
-
"cordova-plugin-dialogs": {}
|
|
27
|
-
"cordova-plugin-file": {}
|
|
23
|
+
"cordova-plugin-dialogs": {}
|
|
28
24
|
},
|
|
29
25
|
"platforms": [
|
|
30
26
|
"android",
|
|
31
27
|
"ios"
|
|
32
28
|
]
|
|
33
29
|
}
|
|
34
|
-
}
|
|
30
|
+
}
|
|
Binary file
|
|
@@ -1,94 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
1
|
+
<meta name="viewport" content="initial-scale=1, user-scalable=no, viewport-fit=cover">
|
|
2
|
+
<link rel="stylesheet" href="src/main.css">
|
|
3
|
+
<script src="cordova.js"></script>
|
|
4
|
+
<script src="src/main.js"></script>
|
|
3
5
|
|
|
4
|
-
<
|
|
5
|
-
<meta http-equiv="Content-Security-Policy"
|
|
6
|
-
content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
|
|
7
|
-
<meta name="format-detection" content="telephone=no">
|
|
8
|
-
<meta name="msapplication-tap-highlight" content="no">
|
|
9
|
-
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
|
|
10
|
-
<link rel="stylesheet" type="text/css" href="css/index.css">
|
|
11
|
-
<link rel="icon" href="data:,">
|
|
12
|
-
<title>FaceSDK</title>
|
|
13
|
-
</head>
|
|
6
|
+
<div id="content" style="height: 100%"></div>
|
|
14
7
|
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<img style="width: 150px" src="img/portrait.png" id="img2" />
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<div>
|
|
33
|
-
<br>
|
|
34
|
-
<button id="matchFaces" style="margin: 3px; width:75%">Match</button>
|
|
35
|
-
<br>
|
|
36
|
-
<button id="liveness" style="margin: 3px; width:75%">Liveness</button>
|
|
37
|
-
<br>
|
|
38
|
-
<button id="clearResults" style="margin: 3px; width:75%">Clear</button>
|
|
39
|
-
</div>
|
|
40
|
-
<br>
|
|
41
|
-
<div>
|
|
42
|
-
Similarity: <span style="margin-right: 15px" id="similarityResult"></span> Liveness: <span
|
|
43
|
-
id="livenessResult"></span>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<script type="text/javascript" src="cordova.js"></script>
|
|
47
|
-
<script type="text/javascript" src="js/index.js"></script>
|
|
48
|
-
<style type="text/css">
|
|
49
|
-
button {
|
|
50
|
-
width: 40%;
|
|
51
|
-
-moz-box-shadow: inset 0px -3px 7px 0px #29bbff;
|
|
52
|
-
-webkit-box-shadow: inset 0px -3px 7px 0px #29bbff;
|
|
53
|
-
box-shadow: inset 0px -3px 7px 0px #29bbff;
|
|
54
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2dabf9), color-stop(1, #0688fa));
|
|
55
|
-
background: -moz-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
|
|
56
|
-
background: -webkit-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
|
|
57
|
-
background: -o-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
|
|
58
|
-
background: -ms-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
|
|
59
|
-
background: linear-gradient(to bottom, #2dabf9 5%, #0688fa 100%);
|
|
60
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2dabf9', endColorstr='#0688fa', GradientType=0);
|
|
61
|
-
background-color: #2dabf9;
|
|
62
|
-
-moz-border-radius: 3px;
|
|
63
|
-
-webkit-border-radius: 3px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
border: 1px solid #0b0e07;
|
|
66
|
-
display: inline-block;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
color: #ffffff;
|
|
69
|
-
font-family: Arial;
|
|
70
|
-
font-size: 15px;
|
|
71
|
-
padding: 9px 23px;
|
|
72
|
-
text-decoration: none;
|
|
73
|
-
text-shadow: 0px 1px 0px #263666;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
button:hover {
|
|
77
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0688fa), color-stop(1, #2dabf9));
|
|
78
|
-
background: -moz-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
|
|
79
|
-
background: -webkit-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
|
|
80
|
-
background: -o-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
|
|
81
|
-
background: -ms-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
|
|
82
|
-
background: linear-gradient(to bottom, #0688fa 5%, #2dabf9 100%);
|
|
83
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0688fa', endColorstr='#2dabf9', GradientType=0);
|
|
84
|
-
background-color: #0688fa;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
button:active {
|
|
88
|
-
position: relative;
|
|
89
|
-
top: 1px;
|
|
90
|
-
}
|
|
91
|
-
</style>
|
|
92
|
-
</body>
|
|
93
|
-
|
|
94
|
-
</html>
|
|
8
|
+
<script>
|
|
9
|
+
document.addEventListener('deviceready', () => {
|
|
10
|
+
window.resolveLocalFileSystemURL(cordova.file.applicationDirectory + 'www/src/main.html', (fileEntry) => {
|
|
11
|
+
fileEntry.file((file) => {
|
|
12
|
+
const reader = new FileReader()
|
|
13
|
+
reader.onloadend = function () {
|
|
14
|
+
document.getElementById('content').innerHTML = this.result
|
|
15
|
+
document.dispatchEvent(new CustomEvent("ready"))
|
|
16
|
+
}
|
|
17
|
+
reader.readAsText(file)
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
})
|
|
21
|
+
</script>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
width: 99%;
|
|
4
|
+
height: 99vh;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.page {
|
|
10
|
+
height: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.column {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.row {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.header {
|
|
31
|
+
text-align: center;
|
|
32
|
+
padding-top: 80px;
|
|
33
|
+
margin-top: -10px;
|
|
34
|
+
background-color: rgba(0, 0, 0, 0.03);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.title {
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
font-size: 18px;
|
|
40
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.divider {
|
|
44
|
+
height: 1px;
|
|
45
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
46
|
+
margin-top: 13px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.no-scroll {
|
|
50
|
+
flex-grow: 1;
|
|
51
|
+
overflow-y: hidden;
|
|
52
|
+
overflow-x: hidden;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.button {
|
|
56
|
+
width: 175px;
|
|
57
|
+
height: 40px;
|
|
58
|
+
margin: 5px;
|
|
59
|
+
margin-top: 10px;
|
|
60
|
+
background-color: #4285F4;
|
|
61
|
+
color: white;
|
|
62
|
+
border: none;
|
|
63
|
+
padding: 10px 20px;
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
border-radius: 100px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: all 0.3s ease;
|
|
68
|
+
user-select: none;
|
|
69
|
+
-webkit-user-select: none;
|
|
70
|
+
-moz-user-select: none;
|
|
71
|
+
-ms-user-select: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.button:active {
|
|
75
|
+
position: relative;
|
|
76
|
+
top: 1px;
|
|
77
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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>
|
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
document.addEventListener('
|
|
1
|
+
document.addEventListener('ready', onDeviceReady)
|
|
2
|
+
async function onDeviceReady() {
|
|
3
|
+
faceSdk = FaceSDKPlugin.FaceSDK.instance
|
|
4
|
+
|
|
5
|
+
image1 = null
|
|
6
|
+
image2 = null
|
|
7
|
+
|
|
8
|
+
// imports
|
|
9
|
+
FaceCaptureResponse = FaceSDKPlugin.FaceCaptureResponse
|
|
10
|
+
LivenessResponse = FaceSDKPlugin.LivenessResponse
|
|
11
|
+
MatchFacesResponse = FaceSDKPlugin.MatchFacesResponse
|
|
12
|
+
MatchFacesRequest = FaceSDKPlugin.MatchFacesRequest
|
|
13
|
+
MatchFacesImage = FaceSDKPlugin.MatchFacesImage
|
|
14
|
+
ComparedFacesSplit = FaceSDKPlugin.ComparedFacesSplit
|
|
15
|
+
InitConfig = FaceSDKPlugin.InitConfig
|
|
16
|
+
InitResponse = FaceSDKPlugin.InitResponse
|
|
17
|
+
LivenessNotification = FaceSDKPlugin.LivenessNotification
|
|
18
|
+
ImageType = FaceSDKPlugin.ImageType
|
|
19
|
+
LivenessSkipStep = FaceSDKPlugin.LivenessSkipStep
|
|
20
|
+
LivenessStatus = FaceSDKPlugin.LivenessStatus
|
|
21
|
+
LivenessConfig = FaceSDKPlugin.LivenessConfig
|
|
22
|
+
|
|
23
|
+
setStatus = data => document.getElementById("status").innerHTML = data
|
|
24
|
+
setLivenessStatus = data => document.getElementById("liveness-status").innerHTML = data
|
|
25
|
+
setSimilarityStatus = data => document.getElementById("similarity-status").innerHTML = data
|
|
26
|
+
setUiImage1 = data => document.getElementById("first-image").src = data
|
|
27
|
+
setUiImage2 = data => document.getElementById("second-image").src = data
|
|
28
|
+
resetImages = () => {
|
|
29
|
+
setUiImage1("images/portrait.png")
|
|
30
|
+
setUiImage2("images/portrait.png")
|
|
31
|
+
}
|
|
32
|
+
document.getElementById("first-image").onclick = () => pickImage(1)
|
|
33
|
+
document.getElementById("second-image").onclick = () => pickImage(2)
|
|
34
|
+
document.getElementById("match-faces").onclick = () => matchFaces()
|
|
35
|
+
document.getElementById("start-liveness").onclick = () => startLiveness()
|
|
36
|
+
document.getElementById("clear-results").onclick = () => clearResults()
|
|
37
|
+
|
|
38
|
+
init()
|
|
39
|
+
}
|
|
2
40
|
|
|
3
41
|
async function init() {
|
|
4
42
|
if (!await initialize()) return
|
|
@@ -48,10 +86,12 @@ function clearResults() {
|
|
|
48
86
|
// otherwise init without license.
|
|
49
87
|
async function initialize() {
|
|
50
88
|
setStatus("Initializing...")
|
|
89
|
+
|
|
51
90
|
var license = await loadAssetIfExists("regula.license")
|
|
52
91
|
var config
|
|
53
92
|
if (license != null) config = new InitConfig(license)
|
|
54
93
|
var [success, error] = await faceSdk.initialize({ config: config })
|
|
94
|
+
|
|
55
95
|
if (!success && error != null) {
|
|
56
96
|
setStatus(error.message)
|
|
57
97
|
console.log(error.code + ": " + error.message)
|
|
@@ -110,45 +150,3 @@ async function loadAssetIfExists(path) {
|
|
|
110
150
|
}, (_) => resolve(null))
|
|
111
151
|
})
|
|
112
152
|
}
|
|
113
|
-
|
|
114
|
-
async function onDeviceReady() {
|
|
115
|
-
faceSdk = FaceSDKPlugin.FaceSDK.instance
|
|
116
|
-
|
|
117
|
-
image1 = null
|
|
118
|
-
image2 = null
|
|
119
|
-
|
|
120
|
-
// imports
|
|
121
|
-
FaceCaptureResponse = FaceSDKPlugin.FaceCaptureResponse
|
|
122
|
-
LivenessResponse = FaceSDKPlugin.LivenessResponse
|
|
123
|
-
MatchFacesResponse = FaceSDKPlugin.MatchFacesResponse
|
|
124
|
-
MatchFacesRequest = FaceSDKPlugin.MatchFacesRequest
|
|
125
|
-
MatchFacesImage = FaceSDKPlugin.MatchFacesImage
|
|
126
|
-
ComparedFacesSplit = FaceSDKPlugin.ComparedFacesSplit
|
|
127
|
-
InitConfig = FaceSDKPlugin.InitConfig
|
|
128
|
-
InitResponse = FaceSDKPlugin.InitResponse
|
|
129
|
-
LivenessNotification = FaceSDKPlugin.LivenessNotification
|
|
130
|
-
ImageType = FaceSDKPlugin.ImageType
|
|
131
|
-
LivenessSkipStep = FaceSDKPlugin.LivenessSkipStep
|
|
132
|
-
LivenessStatus = FaceSDKPlugin.LivenessStatus
|
|
133
|
-
LivenessConfig = FaceSDKPlugin.LivenessConfig
|
|
134
|
-
|
|
135
|
-
setStatus = (data) => document.getElementById("status").innerHTML = data
|
|
136
|
-
setSimilarityStatus = (data) => document.getElementById("similarityResult").innerHTML = data
|
|
137
|
-
setLivenessStatus = (data) => document.getElementById("livenessResult").innerHTML = data
|
|
138
|
-
setUiImage1 = (data) => document.getElementById("img1").src = data
|
|
139
|
-
setUiImage2 = (data) => document.getElementById("img2").src = data
|
|
140
|
-
resetImages = () => {
|
|
141
|
-
setUiImage1("img/portrait.png")
|
|
142
|
-
setUiImage2("img/portrait.png")
|
|
143
|
-
}
|
|
144
|
-
document.getElementById("img1").onclick = function () { pickImage(1) }
|
|
145
|
-
document.getElementById("img2").onclick = function () { pickImage(2) }
|
|
146
|
-
document.getElementById("matchFaces").addEventListener("click", matchFaces)
|
|
147
|
-
document.getElementById("liveness").addEventListener("click", startLiveness)
|
|
148
|
-
document.getElementById("clearResults").addEventListener("click", clearResults)
|
|
149
|
-
|
|
150
|
-
setSimilarityStatus("null")
|
|
151
|
-
setLivenessStatus("null")
|
|
152
|
-
|
|
153
|
-
init()
|
|
154
|
-
}
|
package/examples/ionic/README.md
CHANGED
|
@@ -12,16 +12,13 @@
|
|
|
12
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
|
-
## How to use
|
|
15
|
+
## How to use offline match
|
|
16
16
|
1. Place a license that supports offline match at `src/assets/regula.license`.
|
|
17
17
|
|
|
18
|
-
2. Change
|
|
19
|
-
|
|
20
|
-
3. Change core with the following commands:
|
|
18
|
+
2. Change core with the following commands:
|
|
21
19
|
```bash
|
|
22
20
|
ionic cordova plugin remove @regulaforensics/face-core-basic
|
|
23
21
|
ionic cordova plugin add @regulaforensics/face-core-match
|
|
24
|
-
ionic cordova prepare
|
|
25
22
|
```
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
3. Turn off the internet and run the app.
|
|
@@ -1,187 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
2
|
"version": 1,
|
|
4
|
-
"defaultProject": "app",
|
|
5
|
-
"newProjectRoot": "projects",
|
|
6
3
|
"projects": {
|
|
7
4
|
"app": {
|
|
8
5
|
"root": "",
|
|
9
6
|
"sourceRoot": "src",
|
|
10
7
|
"projectType": "application",
|
|
11
|
-
"prefix": "app",
|
|
12
|
-
"schematics": {},
|
|
13
8
|
"architect": {
|
|
14
9
|
"build": {
|
|
15
10
|
"builder": "@angular-devkit/build-angular:browser",
|
|
16
11
|
"options": {
|
|
17
12
|
"outputPath": "www",
|
|
18
|
-
"index": "
|
|
19
|
-
"main": "
|
|
20
|
-
"
|
|
21
|
-
"tsConfig": "tsconfig.app.json",
|
|
13
|
+
"index": "index.html",
|
|
14
|
+
"main": "index.ts",
|
|
15
|
+
"tsConfig": "tsconfig.json",
|
|
22
16
|
"assets": [
|
|
23
17
|
{
|
|
24
18
|
"glob": "**/*",
|
|
25
19
|
"input": "src/assets",
|
|
26
20
|
"output": "assets"
|
|
27
21
|
},
|
|
28
|
-
{
|
|
29
|
-
"glob": "**/*.svg",
|
|
30
|
-
"input": "node_modules/ionicons/dist/ionicons/svg",
|
|
31
|
-
"output": "./svg"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styles": [
|
|
35
|
-
{
|
|
36
|
-
"input": "src/theme/variables.scss"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"input": "src/global.scss"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"scripts": []
|
|
43
|
-
},
|
|
44
|
-
"configurations": {
|
|
45
|
-
"production": {
|
|
46
|
-
"fileReplacements": [
|
|
47
|
-
{
|
|
48
|
-
"replace": "src/environments/environment.ts",
|
|
49
|
-
"with": "src/environments/environment.prod.ts"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"optimization": true,
|
|
53
|
-
"outputHashing": "all",
|
|
54
|
-
"sourceMap": false,
|
|
55
|
-
"extractCss": true,
|
|
56
|
-
"namedChunks": false,
|
|
57
|
-
"aot": true,
|
|
58
|
-
"extractLicenses": true,
|
|
59
|
-
"vendorChunk": false,
|
|
60
|
-
"buildOptimizer": true,
|
|
61
|
-
"budgets": [
|
|
62
|
-
{
|
|
63
|
-
"type": "initial",
|
|
64
|
-
"maximumWarning": "2mb",
|
|
65
|
-
"maximumError": "5mb"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
"ci": {
|
|
70
|
-
"progress": false
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"serve": {
|
|
75
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
76
|
-
"options": {
|
|
77
|
-
"browserTarget": "app:build"
|
|
78
|
-
},
|
|
79
|
-
"configurations": {
|
|
80
|
-
"production": {
|
|
81
|
-
"browserTarget": "app:build:production"
|
|
82
|
-
},
|
|
83
|
-
"ci": {
|
|
84
|
-
"progress": false
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"extract-i18n": {
|
|
89
|
-
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
90
|
-
"options": {
|
|
91
|
-
"browserTarget": "app:build"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"test": {
|
|
95
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
96
|
-
"options": {
|
|
97
|
-
"main": "src/test.ts",
|
|
98
|
-
"polyfills": "src/polyfills.ts",
|
|
99
|
-
"tsConfig": "tsconfig.spec.json",
|
|
100
|
-
"karmaConfig": "karma.conf.js",
|
|
101
|
-
"styles": [],
|
|
102
|
-
"scripts": [],
|
|
103
|
-
"assets": [
|
|
104
|
-
{
|
|
105
|
-
"glob": "favicon.ico",
|
|
106
|
-
"input": "src/",
|
|
107
|
-
"output": "/"
|
|
108
|
-
},
|
|
109
22
|
{
|
|
110
23
|
"glob": "**/*",
|
|
111
|
-
"input": "src/
|
|
112
|
-
"output": "
|
|
24
|
+
"input": "src/images",
|
|
25
|
+
"output": "images"
|
|
113
26
|
}
|
|
114
27
|
]
|
|
115
|
-
},
|
|
116
|
-
"configurations": {
|
|
117
|
-
"ci": {
|
|
118
|
-
"progress": false,
|
|
119
|
-
"watch": false
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"lint": {
|
|
124
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
125
|
-
"options": {
|
|
126
|
-
"tsConfig": [
|
|
127
|
-
"tsconfig.app.json",
|
|
128
|
-
"tsconfig.spec.json",
|
|
129
|
-
"e2e/tsconfig.json"
|
|
130
|
-
],
|
|
131
|
-
"exclude": ["**/node_modules/**"]
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"e2e": {
|
|
135
|
-
"builder": "@angular-devkit/build-angular:protractor",
|
|
136
|
-
"options": {
|
|
137
|
-
"protractorConfig": "e2e/protractor.conf.js",
|
|
138
|
-
"devServerTarget": "app:serve"
|
|
139
|
-
},
|
|
140
|
-
"configurations": {
|
|
141
|
-
"production": {
|
|
142
|
-
"devServerTarget": "app:serve:production"
|
|
143
|
-
},
|
|
144
|
-
"ci": {
|
|
145
|
-
"devServerTarget": "app:serve:ci"
|
|
146
|
-
}
|
|
147
28
|
}
|
|
148
29
|
},
|
|
149
30
|
"ionic-cordova-build": {
|
|
150
31
|
"builder": "@ionic/cordova-builders:cordova-build",
|
|
151
32
|
"options": {
|
|
152
33
|
"browserTarget": "app:build"
|
|
153
|
-
},
|
|
154
|
-
"configurations": {
|
|
155
|
-
"production": {
|
|
156
|
-
"browserTarget": "app:build:production"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"ionic-cordova-serve": {
|
|
161
|
-
"builder": "@ionic/cordova-builders:cordova-serve",
|
|
162
|
-
"options": {
|
|
163
|
-
"cordovaBuildTarget": "app:ionic-cordova-build",
|
|
164
|
-
"devServerTarget": "app:serve"
|
|
165
|
-
},
|
|
166
|
-
"configurations": {
|
|
167
|
-
"production": {
|
|
168
|
-
"cordovaBuildTarget": "app:ionic-cordova-build:production",
|
|
169
|
-
"devServerTarget": "app:serve:production"
|
|
170
|
-
}
|
|
171
34
|
}
|
|
172
35
|
}
|
|
173
36
|
}
|
|
174
37
|
}
|
|
175
|
-
},
|
|
176
|
-
"cli": {
|
|
177
|
-
"defaultCollection": "@ionic/angular-toolkit"
|
|
178
|
-
},
|
|
179
|
-
"schematics": {
|
|
180
|
-
"@ionic/angular-toolkit:component": {
|
|
181
|
-
"styleext": "scss"
|
|
182
|
-
},
|
|
183
|
-
"@ionic/angular-toolkit:page": {
|
|
184
|
-
"styleext": "scss"
|
|
185
|
-
}
|
|
186
38
|
}
|
|
187
|
-
}
|
|
39
|
+
}
|