@regulaforensics/face-sdk 6.4.228-nightly → 6.4.254-nightly
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 +2 -2
- 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 +1313 -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 +3 -3
- 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
|
@@ -7,9 +7,11 @@ export class FaceCaptureConfig {
|
|
|
7
7
|
closeButtonEnabled
|
|
8
8
|
torchButtonEnabled
|
|
9
9
|
vibrateOnSteps
|
|
10
|
+
detectOcclusion
|
|
11
|
+
showFaceAnimation
|
|
10
12
|
cameraPositionIOS
|
|
11
|
-
screenOrientation
|
|
12
13
|
cameraPositionAndroid
|
|
14
|
+
screenOrientation
|
|
13
15
|
timeout
|
|
14
16
|
holdStillDuration
|
|
15
17
|
|
|
@@ -19,9 +21,11 @@ export class FaceCaptureConfig {
|
|
|
19
21
|
this.closeButtonEnabled = params?.closeButtonEnabled ?? true
|
|
20
22
|
this.torchButtonEnabled = params?.torchButtonEnabled ?? true
|
|
21
23
|
this.vibrateOnSteps = params?.vibrateOnSteps ?? true
|
|
24
|
+
this.detectOcclusion = params?.detectOcclusion ?? true
|
|
25
|
+
this.showFaceAnimation = params?.showFaceAnimation ?? true
|
|
22
26
|
this.cameraPositionIOS = params?.cameraPositionIOS ?? CameraPosition.FRONT
|
|
23
|
-
this.screenOrientation = params?.screenOrientation ?? [ScreenOrientation.PORTRAIT]
|
|
24
27
|
this.cameraPositionAndroid = params?.cameraPositionAndroid
|
|
28
|
+
this.screenOrientation = params?.screenOrientation ?? [ScreenOrientation.PORTRAIT]
|
|
25
29
|
this.timeout = params?.timeout
|
|
26
30
|
this.holdStillDuration = params?.holdStillDuration
|
|
27
31
|
}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
export class InitConfig {
|
|
2
2
|
license
|
|
3
3
|
licenseUpdate
|
|
4
|
+
useBleDevice
|
|
5
|
+
|
|
6
|
+
static withBleDevice() {
|
|
7
|
+
var result = new InitConfig()
|
|
8
|
+
result.useBleDevice = true
|
|
9
|
+
return result
|
|
10
|
+
}
|
|
4
11
|
|
|
5
12
|
constructor(license, params) {
|
|
6
13
|
this.license = license
|
|
7
14
|
this.licenseUpdate = params?.licenseUpdate
|
|
15
|
+
this.useBleDevice = false
|
|
8
16
|
}
|
|
9
17
|
}
|
|
@@ -8,10 +8,11 @@ export async function exec(name, params) {
|
|
|
8
8
|
return RNFaceSDK.exec(name, params)
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
function _setEvent(id, completion) {
|
|
11
|
+
function _setEvent(id, completion, fromJson) {
|
|
12
12
|
eventManager.removeAllListeners(id)
|
|
13
|
-
if
|
|
14
|
-
|
|
13
|
+
// if no fromJson provided, just call completion
|
|
14
|
+
if (fromJson == undefined) fromJson = func => func
|
|
15
|
+
if (completion != undefined) eventManager.addListener(id, fromJson(completion))
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export function _setCustomButtonTappedCompletion(completion) {
|
|
@@ -19,18 +20,18 @@ export function _setCustomButtonTappedCompletion(completion) {
|
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export function _setVideoEncoderCompletion(completion) {
|
|
22
|
-
_setEvent("video_encoder_completion",
|
|
23
|
+
_setEvent("video_encoder_completion", completion, func => json => {
|
|
23
24
|
var jsonObject = JSON.parse(json)
|
|
24
25
|
var transactionId = jsonObject["transactionId"]
|
|
25
26
|
var success = jsonObject["success"]
|
|
26
|
-
|
|
27
|
+
func(transactionId, success)
|
|
27
28
|
})
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
export function _setLivenessNotificationCompletion(completion) {
|
|
31
|
-
_setEvent("livenessNotificationEvent",
|
|
32
|
+
_setEvent("livenessNotificationEvent", completion, func => json => {
|
|
32
33
|
var livenessNotification = LivenessNotification.fromJson(JSON.parse(json))
|
|
33
|
-
|
|
34
|
+
func(livenessNotification)
|
|
34
35
|
})
|
|
35
36
|
}
|
|
36
37
|
|
|
@@ -38,4 +38,12 @@ export const LivenessBackendErrorCode = {
|
|
|
38
38
|
WRONG_GEO: 247,
|
|
39
39
|
WRONG_OF: 248,
|
|
40
40
|
WRONG_VIEW: 249,
|
|
41
|
+
TIMEOUT_LIVENESS_TRANSACTION: 250,
|
|
42
|
+
FAILED_LIVENESS_TRANSACTION: 251,
|
|
43
|
+
ABORTED_LIVENESS_TRANSACTION: 252,
|
|
44
|
+
GENERAL_CHECK_FAIL: 253,
|
|
45
|
+
PASSIVE_LIVENESS_FAIL: 254,
|
|
46
|
+
PRINTED_FACE_DETECTED: 255,
|
|
47
|
+
BLOCKED_REQUEST: 256,
|
|
48
|
+
CORRUPTED_REQUEST: 257,
|
|
41
49
|
}
|
|
@@ -8,8 +8,8 @@ export class LivenessConfig {
|
|
|
8
8
|
torchButtonEnabled
|
|
9
9
|
vibrateOnSteps
|
|
10
10
|
cameraPositionIOS
|
|
11
|
-
screenOrientation
|
|
12
11
|
cameraPositionAndroid
|
|
12
|
+
screenOrientation
|
|
13
13
|
locationTrackingEnabled
|
|
14
14
|
attemptsCount
|
|
15
15
|
recordingProcess
|
|
@@ -25,14 +25,14 @@ export class LivenessConfig {
|
|
|
25
25
|
this.torchButtonEnabled = params?.torchButtonEnabled ?? true
|
|
26
26
|
this.vibrateOnSteps = params?.vibrateOnSteps ?? true
|
|
27
27
|
this.cameraPositionIOS = params?.cameraPositionIOS ?? CameraPosition.FRONT
|
|
28
|
+
this.cameraPositionAndroid = params?.cameraPositionAndroid
|
|
28
29
|
this.screenOrientation = params?.screenOrientation ?? [ScreenOrientation.PORTRAIT]
|
|
29
30
|
this.locationTrackingEnabled = params?.locationTrackingEnabled ?? true
|
|
30
31
|
this.attemptsCount = params?.attemptsCount ?? 0
|
|
31
32
|
this.recordingProcess = params?.recordingProcess ?? RecordingProcess.ASYNCHRONOUS_UPLOAD
|
|
32
33
|
this.livenessType = params?.livenessType ?? LivenessType.ACTIVE
|
|
33
|
-
this.skipStep = params?.skipStep ?? []
|
|
34
|
-
this.cameraPositionAndroid = params?.cameraPositionAndroid
|
|
35
34
|
this.tag = params?.tag
|
|
35
|
+
this.skipStep = params?.skipStep ?? []
|
|
36
36
|
this.metadata = params?.metadata
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -38,7 +38,7 @@ export class PersonDatabase {
|
|
|
38
38
|
|
|
39
39
|
async getPersonImage(personId, imageId) {
|
|
40
40
|
var response = await exec("getPersonImage", [personId, imageId])
|
|
41
|
-
return this._itemResponseFromJson(response,
|
|
41
|
+
return this._itemResponseFromJson(response, data => data)
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
async getPersonImages(personId) {
|
|
@@ -7,6 +7,10 @@ export class FaceCaptureConfig {
|
|
|
7
7
|
closeButtonEnabled: boolean
|
|
8
8
|
torchButtonEnabled: boolean
|
|
9
9
|
vibrateOnSteps: boolean
|
|
10
|
+
/**
|
|
11
|
+
* Enables global face hint animation.
|
|
12
|
+
*/
|
|
13
|
+
showFaceAnimation: boolean
|
|
10
14
|
/**
|
|
11
15
|
* Android only.
|
|
12
16
|
*/
|
|
@@ -16,7 +20,7 @@ export class FaceCaptureConfig {
|
|
|
16
20
|
*/
|
|
17
21
|
cameraPositionIOS: CameraPosition
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* Allows you to specify an orientation of the camera view controller.
|
|
20
24
|
*/
|
|
21
25
|
screenOrientation?: Array<ScreenOrientation>
|
|
22
26
|
timeout?: number
|
|
@@ -29,6 +33,7 @@ export class FaceCaptureConfig {
|
|
|
29
33
|
closeButtonEnabled?: boolean
|
|
30
34
|
torchButtonEnabled?: boolean
|
|
31
35
|
vibrateOnSteps?: boolean
|
|
36
|
+
showFaceAnimation?: boolean
|
|
32
37
|
cameraPositionAndroid?: number
|
|
33
38
|
cameraPositionIOS?: CameraPosition
|
|
34
39
|
screenOrientation?: Array<ScreenOrientation>
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* Also controls initialization time properties such as licenseUpdate.
|
|
5
5
|
*/
|
|
6
6
|
export class InitConfig {
|
|
7
|
+
/// Constructor for initialization using a ble device.
|
|
8
|
+
/// Doesn't need a license file, it will be fetched automatically from your ble device.
|
|
9
|
+
///
|
|
10
|
+
/// Requires [DocumentReader](https://www.npmjs.com/package/@regulaforensics/document-reader) to be initialized with ble device.
|
|
11
|
+
static withBleDevice(): InitConfig
|
|
12
|
+
|
|
7
13
|
/**
|
|
8
14
|
* @param license - The license binary file.
|
|
9
15
|
* @param params.licenseUpdate - Enables automatic license update check during {@link FaceSDK} initialization.
|
|
@@ -13,4 +19,4 @@ export class InitConfig {
|
|
|
13
19
|
params?: {
|
|
14
20
|
licenseUpdate?: boolean
|
|
15
21
|
})
|
|
16
|
-
}
|
|
22
|
+
}
|
|
@@ -29,5 +29,13 @@ export enum LivenessBackendErrorCode {
|
|
|
29
29
|
ELECTRONIC_DEVICE_DETECTED,
|
|
30
30
|
WRONG_GEO,
|
|
31
31
|
WRONG_OF,
|
|
32
|
-
WRONG_VIEW,
|
|
32
|
+
WRONG_VIEW,
|
|
33
|
+
TIMEOUT_LIVENESS_TRANSACTION,
|
|
34
|
+
FAILED_LIVENESS_TRANSACTION,
|
|
35
|
+
ABORTED_LIVENESS_TRANSACTION,
|
|
36
|
+
GENERAL_CHECK_FAIL,
|
|
37
|
+
PASSIVE_LIVENESS_FAIL,
|
|
38
|
+
PRINTED_FACE_DETECTED,
|
|
39
|
+
BLOCKED_REQUEST,
|
|
40
|
+
CORRUPTED_REQUEST,
|
|
33
41
|
}
|
|
@@ -38,7 +38,7 @@ export class PersonDatabase {
|
|
|
38
38
|
getPersonImage(
|
|
39
39
|
personId: string,
|
|
40
40
|
imageId: string
|
|
41
|
-
): Promise<[
|
|
41
|
+
): Promise<[string | null, string | null]>
|
|
42
42
|
|
|
43
43
|
getPersonImages(personId: string): Promise<[PageableItemList<PersonImage>, string | null]>
|
|
44
44
|
|
package/.gitlab/report.yaml
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
spec:
|
|
2
|
-
inputs:
|
|
3
|
-
stage:
|
|
4
|
-
default: reports
|
|
5
|
-
image:
|
|
6
|
-
default: ubuntu:22.04
|
|
7
|
-
ignore_vulnerabilities:
|
|
8
|
-
default: "false"
|
|
9
|
-
sast_report_file:
|
|
10
|
-
default: gl-sast-report.json
|
|
11
|
-
secret_detection_report_file:
|
|
12
|
-
default: gl-secret-detection-report.json
|
|
13
|
-
dependency_scanning_report_file:
|
|
14
|
-
default: gl-dependency-scanning-report.json
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
view reports:
|
|
18
|
-
image: $[[ inputs.image ]]
|
|
19
|
-
stage: $[[ inputs.stage ]]
|
|
20
|
-
variables:
|
|
21
|
-
IGNORE_VULNERABILITIES: $[[ inputs.ignore_vulnerabilities ]]
|
|
22
|
-
SAST_REPORT_FILE: $[[ inputs.sast_report_file ]]
|
|
23
|
-
SECRET_DETECTION_REPORT_FILE: $[[ inputs.secret_detection_report_file ]]
|
|
24
|
-
DEPENDENCY_SCANNING_REPORT_FILE: $[[ inputs.dependency_scanning_report_file ]]
|
|
25
|
-
RED: \033[0;31m
|
|
26
|
-
YELLOW: \033[1;33m
|
|
27
|
-
GREEN: \033[0;32m
|
|
28
|
-
NC: \033[0m
|
|
29
|
-
needs:
|
|
30
|
-
- job: semgrep-sast
|
|
31
|
-
artifacts: true
|
|
32
|
-
- job: secret_detection
|
|
33
|
-
artifacts: true
|
|
34
|
-
- job: gemnasium-dependency_scanning
|
|
35
|
-
artifacts: true
|
|
36
|
-
rules:
|
|
37
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
-
script:
|
|
39
|
-
- ls -la
|
|
40
|
-
- apt update && apt install -y jq
|
|
41
|
-
- |
|
|
42
|
-
for f in SAST_REPORT_FILE SECRET_DETECTION_REPORT_FILE DEPENDENCY_SCANNING_REPORT_FILE
|
|
43
|
-
do
|
|
44
|
-
if [[ -f "${!f}" ]]
|
|
45
|
-
then
|
|
46
|
-
echo -e "${GREEN}File ${!f} exists, adding report${NC}"
|
|
47
|
-
r=${f/%_FILE}
|
|
48
|
-
declare $r="$(cat ${!f} | jq 'select(.vulnerabilities != []).vulnerabilities')"
|
|
49
|
-
if [[ ! -z "${!r}" ]]
|
|
50
|
-
then
|
|
51
|
-
VULNERABILITIES_FOUND=true
|
|
52
|
-
echo -e "${RED}Found $r vulnerabilities${NC}"
|
|
53
|
-
echo "${!r}"
|
|
54
|
-
echo
|
|
55
|
-
fi
|
|
56
|
-
else
|
|
57
|
-
echo -e "${YELLOW}File ${!f} doesn't exist, skipping${NC}"
|
|
58
|
-
fi
|
|
59
|
-
done
|
|
60
|
-
|
|
61
|
-
if [[ "$VULNERABILITIES_FOUND" == true ]]
|
|
62
|
-
then
|
|
63
|
-
if [[ "$IGNORE_VULNERABILITIES" == true ]]
|
|
64
|
-
then
|
|
65
|
-
echo -e "${GREEN}All found vulnerabilities were ignored due to IGNORE_VULNERABILITIES=true${NC}"
|
|
66
|
-
exit 0
|
|
67
|
-
else
|
|
68
|
-
echo -e "${RED}Vulnerabilities found, please see reports above${NC}"
|
|
69
|
-
exit 1
|
|
70
|
-
fi
|
|
71
|
-
fi
|
|
72
|
-
|
|
73
|
-
echo -e "${GREEN}No vulnerabilities found${NC}"
|
|
74
|
-
|
|
75
|
-
exit 0
|
package/.gitlab-ci.yml
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- test
|
|
3
|
-
- reports
|
|
4
|
-
|
|
5
|
-
include:
|
|
6
|
-
- template: Jobs/SAST.gitlab-ci.yml
|
|
7
|
-
- template: Jobs/Secret-Detection.gitlab-ci.yml
|
|
8
|
-
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
|
|
9
|
-
- local: .gitlab/report.yaml
|
|
10
|
-
rules:
|
|
11
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
12
|
-
inputs:
|
|
13
|
-
stage: reports
|
|
14
|
-
image: ubuntu:22.04
|
|
15
|
-
ignore_vulnerabilities: "false"
|
|
16
|
-
sast_report_file: gl-sast-report.json
|
|
17
|
-
secret_detection_report_file: gl-secret-detection-report.json
|
|
18
|
-
dependency_scanning_report_file: gl-dependency-scanning-report.json
|
|
19
|
-
|
|
20
|
-
trivy scan:
|
|
21
|
-
stage: test
|
|
22
|
-
image: aquasec/trivy
|
|
23
|
-
rules:
|
|
24
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
25
|
-
script:
|
|
26
|
-
- trivy fs --severity CRITICAL,HIGH,MEDIUM,LOW --ignore-unfixed --db-repository container-registry.regula.local:80/aquasecurity/trivy-db:2 --exit-code 1 .
|
|
27
|
-
|
|
28
|
-
semgrep-sast:
|
|
29
|
-
rules:
|
|
30
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
31
|
-
artifacts:
|
|
32
|
-
paths:
|
|
33
|
-
- gl-sast-report.json
|
|
34
|
-
|
|
35
|
-
secret_detection:
|
|
36
|
-
rules:
|
|
37
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
-
artifacts:
|
|
39
|
-
paths:
|
|
40
|
-
- gl-secret-detection-report.json
|
|
41
|
-
|
|
42
|
-
gemnasium-dependency_scanning:
|
|
43
|
-
variables:
|
|
44
|
-
DS_MAX_DEPTH: -1
|
|
45
|
-
rules:
|
|
46
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
47
|
-
artifacts:
|
|
48
|
-
paths:
|
|
49
|
-
- gl-dependency-scanning-report.json
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true
|
|
5
|
-
},
|
|
6
|
-
'extends': [
|
|
7
|
-
'plugin:react/recommended',
|
|
8
|
-
'eslint:recommended'
|
|
9
|
-
],
|
|
10
|
-
parserOptions: {
|
|
11
|
-
ecmaVersion: 2020
|
|
12
|
-
},
|
|
13
|
-
rules: {
|
|
14
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
15
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
package com.getcapacitor.myapp;
|
|
2
|
-
|
|
3
|
-
import static org.junit.Assert.*;
|
|
4
|
-
|
|
5
|
-
import android.content.Context;
|
|
6
|
-
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
|
7
|
-
import androidx.test.platform.app.InstrumentationRegistry;
|
|
8
|
-
import org.junit.Test;
|
|
9
|
-
import org.junit.runner.RunWith;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Instrumented test, which will execute on an Android device.
|
|
13
|
-
*
|
|
14
|
-
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
|
15
|
-
*/
|
|
16
|
-
@RunWith(AndroidJUnit4.class)
|
|
17
|
-
public class ExampleInstrumentedTest {
|
|
18
|
-
|
|
19
|
-
@Test
|
|
20
|
-
public void useAppContext() throws Exception {
|
|
21
|
-
// Context of the app under test.
|
|
22
|
-
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
|
23
|
-
|
|
24
|
-
assertEquals("com.getcapacitor.app", appContext.getPackageName());
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportHeight="108"
|
|
6
|
-
android:viewportWidth="108">
|
|
7
|
-
<path
|
|
8
|
-
android:fillColor="#26A69A"
|
|
9
|
-
android:pathData="M0,0h108v108h-108z" />
|
|
10
|
-
<path
|
|
11
|
-
android:fillColor="#00000000"
|
|
12
|
-
android:pathData="M9,0L9,108"
|
|
13
|
-
android:strokeColor="#33FFFFFF"
|
|
14
|
-
android:strokeWidth="0.8" />
|
|
15
|
-
<path
|
|
16
|
-
android:fillColor="#00000000"
|
|
17
|
-
android:pathData="M19,0L19,108"
|
|
18
|
-
android:strokeColor="#33FFFFFF"
|
|
19
|
-
android:strokeWidth="0.8" />
|
|
20
|
-
<path
|
|
21
|
-
android:fillColor="#00000000"
|
|
22
|
-
android:pathData="M29,0L29,108"
|
|
23
|
-
android:strokeColor="#33FFFFFF"
|
|
24
|
-
android:strokeWidth="0.8" />
|
|
25
|
-
<path
|
|
26
|
-
android:fillColor="#00000000"
|
|
27
|
-
android:pathData="M39,0L39,108"
|
|
28
|
-
android:strokeColor="#33FFFFFF"
|
|
29
|
-
android:strokeWidth="0.8" />
|
|
30
|
-
<path
|
|
31
|
-
android:fillColor="#00000000"
|
|
32
|
-
android:pathData="M49,0L49,108"
|
|
33
|
-
android:strokeColor="#33FFFFFF"
|
|
34
|
-
android:strokeWidth="0.8" />
|
|
35
|
-
<path
|
|
36
|
-
android:fillColor="#00000000"
|
|
37
|
-
android:pathData="M59,0L59,108"
|
|
38
|
-
android:strokeColor="#33FFFFFF"
|
|
39
|
-
android:strokeWidth="0.8" />
|
|
40
|
-
<path
|
|
41
|
-
android:fillColor="#00000000"
|
|
42
|
-
android:pathData="M69,0L69,108"
|
|
43
|
-
android:strokeColor="#33FFFFFF"
|
|
44
|
-
android:strokeWidth="0.8" />
|
|
45
|
-
<path
|
|
46
|
-
android:fillColor="#00000000"
|
|
47
|
-
android:pathData="M79,0L79,108"
|
|
48
|
-
android:strokeColor="#33FFFFFF"
|
|
49
|
-
android:strokeWidth="0.8" />
|
|
50
|
-
<path
|
|
51
|
-
android:fillColor="#00000000"
|
|
52
|
-
android:pathData="M89,0L89,108"
|
|
53
|
-
android:strokeColor="#33FFFFFF"
|
|
54
|
-
android:strokeWidth="0.8" />
|
|
55
|
-
<path
|
|
56
|
-
android:fillColor="#00000000"
|
|
57
|
-
android:pathData="M99,0L99,108"
|
|
58
|
-
android:strokeColor="#33FFFFFF"
|
|
59
|
-
android:strokeWidth="0.8" />
|
|
60
|
-
<path
|
|
61
|
-
android:fillColor="#00000000"
|
|
62
|
-
android:pathData="M0,9L108,9"
|
|
63
|
-
android:strokeColor="#33FFFFFF"
|
|
64
|
-
android:strokeWidth="0.8" />
|
|
65
|
-
<path
|
|
66
|
-
android:fillColor="#00000000"
|
|
67
|
-
android:pathData="M0,19L108,19"
|
|
68
|
-
android:strokeColor="#33FFFFFF"
|
|
69
|
-
android:strokeWidth="0.8" />
|
|
70
|
-
<path
|
|
71
|
-
android:fillColor="#00000000"
|
|
72
|
-
android:pathData="M0,29L108,29"
|
|
73
|
-
android:strokeColor="#33FFFFFF"
|
|
74
|
-
android:strokeWidth="0.8" />
|
|
75
|
-
<path
|
|
76
|
-
android:fillColor="#00000000"
|
|
77
|
-
android:pathData="M0,39L108,39"
|
|
78
|
-
android:strokeColor="#33FFFFFF"
|
|
79
|
-
android:strokeWidth="0.8" />
|
|
80
|
-
<path
|
|
81
|
-
android:fillColor="#00000000"
|
|
82
|
-
android:pathData="M0,49L108,49"
|
|
83
|
-
android:strokeColor="#33FFFFFF"
|
|
84
|
-
android:strokeWidth="0.8" />
|
|
85
|
-
<path
|
|
86
|
-
android:fillColor="#00000000"
|
|
87
|
-
android:pathData="M0,59L108,59"
|
|
88
|
-
android:strokeColor="#33FFFFFF"
|
|
89
|
-
android:strokeWidth="0.8" />
|
|
90
|
-
<path
|
|
91
|
-
android:fillColor="#00000000"
|
|
92
|
-
android:pathData="M0,69L108,69"
|
|
93
|
-
android:strokeColor="#33FFFFFF"
|
|
94
|
-
android:strokeWidth="0.8" />
|
|
95
|
-
<path
|
|
96
|
-
android:fillColor="#00000000"
|
|
97
|
-
android:pathData="M0,79L108,79"
|
|
98
|
-
android:strokeColor="#33FFFFFF"
|
|
99
|
-
android:strokeWidth="0.8" />
|
|
100
|
-
<path
|
|
101
|
-
android:fillColor="#00000000"
|
|
102
|
-
android:pathData="M0,89L108,89"
|
|
103
|
-
android:strokeColor="#33FFFFFF"
|
|
104
|
-
android:strokeWidth="0.8" />
|
|
105
|
-
<path
|
|
106
|
-
android:fillColor="#00000000"
|
|
107
|
-
android:pathData="M0,99L108,99"
|
|
108
|
-
android:strokeColor="#33FFFFFF"
|
|
109
|
-
android:strokeWidth="0.8" />
|
|
110
|
-
<path
|
|
111
|
-
android:fillColor="#00000000"
|
|
112
|
-
android:pathData="M19,29L89,29"
|
|
113
|
-
android:strokeColor="#33FFFFFF"
|
|
114
|
-
android:strokeWidth="0.8" />
|
|
115
|
-
<path
|
|
116
|
-
android:fillColor="#00000000"
|
|
117
|
-
android:pathData="M19,39L89,39"
|
|
118
|
-
android:strokeColor="#33FFFFFF"
|
|
119
|
-
android:strokeWidth="0.8" />
|
|
120
|
-
<path
|
|
121
|
-
android:fillColor="#00000000"
|
|
122
|
-
android:pathData="M19,49L89,49"
|
|
123
|
-
android:strokeColor="#33FFFFFF"
|
|
124
|
-
android:strokeWidth="0.8" />
|
|
125
|
-
<path
|
|
126
|
-
android:fillColor="#00000000"
|
|
127
|
-
android:pathData="M19,59L89,59"
|
|
128
|
-
android:strokeColor="#33FFFFFF"
|
|
129
|
-
android:strokeWidth="0.8" />
|
|
130
|
-
<path
|
|
131
|
-
android:fillColor="#00000000"
|
|
132
|
-
android:pathData="M19,69L89,69"
|
|
133
|
-
android:strokeColor="#33FFFFFF"
|
|
134
|
-
android:strokeWidth="0.8" />
|
|
135
|
-
<path
|
|
136
|
-
android:fillColor="#00000000"
|
|
137
|
-
android:pathData="M19,79L89,79"
|
|
138
|
-
android:strokeColor="#33FFFFFF"
|
|
139
|
-
android:strokeWidth="0.8" />
|
|
140
|
-
<path
|
|
141
|
-
android:fillColor="#00000000"
|
|
142
|
-
android:pathData="M29,19L29,89"
|
|
143
|
-
android:strokeColor="#33FFFFFF"
|
|
144
|
-
android:strokeWidth="0.8" />
|
|
145
|
-
<path
|
|
146
|
-
android:fillColor="#00000000"
|
|
147
|
-
android:pathData="M39,19L39,89"
|
|
148
|
-
android:strokeColor="#33FFFFFF"
|
|
149
|
-
android:strokeWidth="0.8" />
|
|
150
|
-
<path
|
|
151
|
-
android:fillColor="#00000000"
|
|
152
|
-
android:pathData="M49,19L49,89"
|
|
153
|
-
android:strokeColor="#33FFFFFF"
|
|
154
|
-
android:strokeWidth="0.8" />
|
|
155
|
-
<path
|
|
156
|
-
android:fillColor="#00000000"
|
|
157
|
-
android:pathData="M59,19L59,89"
|
|
158
|
-
android:strokeColor="#33FFFFFF"
|
|
159
|
-
android:strokeWidth="0.8" />
|
|
160
|
-
<path
|
|
161
|
-
android:fillColor="#00000000"
|
|
162
|
-
android:pathData="M69,19L69,89"
|
|
163
|
-
android:strokeColor="#33FFFFFF"
|
|
164
|
-
android:strokeWidth="0.8" />
|
|
165
|
-
<path
|
|
166
|
-
android:fillColor="#00000000"
|
|
167
|
-
android:pathData="M79,19L79,89"
|
|
168
|
-
android:strokeColor="#33FFFFFF"
|
|
169
|
-
android:strokeWidth="0.8" />
|
|
170
|
-
</vector>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
xmlns:aapt="http://schemas.android.com/aapt"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportHeight="108"
|
|
6
|
-
android:viewportWidth="108">
|
|
7
|
-
<path
|
|
8
|
-
android:fillType="evenOdd"
|
|
9
|
-
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
|
10
|
-
android:strokeColor="#00000000"
|
|
11
|
-
android:strokeWidth="1">
|
|
12
|
-
<aapt:attr name="android:fillColor">
|
|
13
|
-
<gradient
|
|
14
|
-
android:endX="78.5885"
|
|
15
|
-
android:endY="90.9159"
|
|
16
|
-
android:startX="48.7653"
|
|
17
|
-
android:startY="61.0927"
|
|
18
|
-
android:type="linear">
|
|
19
|
-
<item
|
|
20
|
-
android:color="#44000000"
|
|
21
|
-
android:offset="0.0" />
|
|
22
|
-
<item
|
|
23
|
-
android:color="#00000000"
|
|
24
|
-
android:offset="1.0" />
|
|
25
|
-
</gradient>
|
|
26
|
-
</aapt:attr>
|
|
27
|
-
</path>
|
|
28
|
-
<path
|
|
29
|
-
android:fillColor="#FFFFFF"
|
|
30
|
-
android:fillType="nonZero"
|
|
31
|
-
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
|
32
|
-
android:strokeColor="#00000000"
|
|
33
|
-
android:strokeWidth="1" />
|
|
34
|
-
</vector>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|