├── .github └── ISSUE_TEMPLATE │ └── config.yml ├── .gitignore ├── 1120-Without License ├── .gitignore ├── README.md ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── ble_1120 │ │ │ ├── MainActivity.kt │ │ │ ├── SuccessfulInitActivity.kt │ │ │ └── util │ │ │ ├── BluetoothUtil.kt │ │ │ ├── PermissionUtil.kt │ │ │ └── Utils.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── simple_dialog.xml │ │ └── sucessfull_init_activity.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── Advanced └── DocumentReader-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── lint.xml │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── buttons.json │ │ ├── layer.json │ │ └── layer_animation.json │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── documentreader │ │ │ ├── BottomSheet.kt │ │ │ ├── CommonRecyclerAdapter.kt │ │ │ ├── DeviceActivity.kt │ │ │ ├── DirectResultsActivity.kt │ │ │ ├── Helpers.kt │ │ │ ├── MainActivity.kt │ │ │ ├── OnlineProcessingActivity.kt │ │ │ ├── ResultsActivity.kt │ │ │ ├── SelectionAdapter.kt │ │ │ ├── SettingsActivity.kt │ │ │ ├── StartActivity.kt │ │ │ ├── Types.kt │ │ │ └── utils │ │ │ ├── BluetoothPermissionHelper.kt │ │ │ ├── BluetoothUtil.kt │ │ │ ├── LicenseUtil.kt │ │ │ └── PermissionsHelper.kt │ │ └── res │ │ ├── .gitignore │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── big_close.png │ │ ├── box_outline.xml │ │ ├── button_background.xml │ │ ├── camera.png │ │ ├── capture.png │ │ ├── close.png │ │ ├── collapse.png │ │ ├── credit_card.png │ │ ├── expand.png │ │ ├── ic_close.xml │ │ ├── ic_launcher_background.xml │ │ ├── info_barcode.png │ │ ├── info_mrz.png │ │ ├── info_viz.png │ │ ├── ir.bmp │ │ ├── light_off.png │ │ ├── light_on.png │ │ ├── one.png │ │ ├── reg_icon_check_fail.xml │ │ ├── reg_icon_check_ok.xml │ │ ├── reg_icon_no_check.xml │ │ ├── rounded.xml │ │ ├── rounded_bottom.xml │ │ ├── rounded_full.xml │ │ ├── rounded_gray.xml │ │ ├── rounded_top.xml │ │ ├── tab_indicator.xml │ │ ├── two.png │ │ ├── uv.bmp │ │ ├── viewfinder.png │ │ └── white.bmp │ │ ├── layout │ │ ├── activity_device.xml │ │ ├── activity_direct_results.xml │ │ ├── activity_main.xml │ │ ├── activity_online_processing.xml │ │ ├── activity_results.xml │ │ ├── activity_settings.xml │ │ ├── activity_start.xml │ │ ├── bottom_sheet.xml │ │ ├── bottom_sheet_item.xml │ │ ├── fragment_results.xml │ │ ├── fragment_rv.xml │ │ ├── fragment_rv_add_parameter.xml │ │ ├── rv_auth_section.xml │ │ ├── rv_help_big.xml │ │ ├── rv_image.xml │ │ ├── rv_image_pair.xml │ │ ├── rv_section.xml │ │ ├── rv_status.xml │ │ ├── rv_stepper.xml │ │ ├── rv_switch.xml │ │ ├── rv_text.xml │ │ ├── rv_text_result.xml │ │ ├── rv_title_value.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ └── file_paths.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Authenticity └── DocumentReader-authenticity-sample_kotlin │ ├── app │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── Regula │ │ │ └── test.pdf │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── documentreader │ │ │ ├── AuthItemsAdapter.kt │ │ │ ├── Helpers.kt │ │ │ ├── LivenessDialog.kt │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── MainViewModelFactory.kt │ │ │ ├── ResultsAuthActivity.kt │ │ │ ├── SetValueDialog.kt │ │ │ └── util │ │ │ └── Utils.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── auth_doc_barcode_format.png │ │ ├── auth_doc_dull_paper.png │ │ ├── auth_doc_encrypted_ipi.png │ │ ├── auth_doc_extended_mrz.png │ │ ├── auth_doc_extended_ocr.png │ │ ├── auth_doc_image_patterns.png │ │ ├── auth_doc_ipi.png │ │ ├── auth_doc_ir_b900.png │ │ ├── auth_doc_ir_visibility.png │ │ ├── auth_doc_liveness.png │ │ ├── auth_doc_photo_embedding.png │ │ ├── auth_doc_portrait_comparison.png │ │ ├── auth_doc_security_text.png │ │ ├── auth_doc_uv_fibers.png │ │ ├── baseline_info_24.xml │ │ ├── button_shape.xml │ │ ├── doc_auth.png │ │ ├── gradient_inactive_top.xml │ │ ├── ic_launcher_background.xml │ │ ├── info_barcode.png │ │ ├── info_mrz.png │ │ ├── info_viz.png │ │ ├── light_type_ir.bmp │ │ ├── light_type_uv.bmp │ │ ├── light_type_white.bmp │ │ ├── outline_article_shortcut_24.xml │ │ ├── reg_icon_check_fail.xml │ │ ├── reg_icon_check_ok.xml │ │ ├── reg_icon_no_check.xml │ │ ├── rounded.xml │ │ ├── rounded_top_corners.xml │ │ ├── shape_authenticity_check.xml │ │ ├── shape_card_info.xml │ │ ├── shape_liveness_params_inactive.xml │ │ └── warning.png │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── activity_results_auth.xml │ │ ├── dialog_description.xml │ │ ├── dialog_liveness.xml │ │ ├── dialog_progressbar.xml │ │ ├── dialog_value_setter.xml │ │ ├── dialog_warning.xml │ │ ├── element_ident_result.xml │ │ ├── element_ocr_security_text_result.xml │ │ ├── element_photo_ident_result.xml │ │ ├── element_security_feauture_check.xml │ │ ├── element_uv_fibers.xml │ │ └── item_view.xml │ │ ├── menu │ │ └── toolbar_actions.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── BackendProcessing ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── backend.processing │ │ │ ├── Constants.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── Basic ├── DocumentReader-sample_java │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── assets │ │ │ └── Regula │ │ │ │ └── test.pdf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── regula │ │ │ │ └── documentreader │ │ │ │ ├── BaseActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MainFragment.java │ │ │ │ ├── ScenarioAdapter.java │ │ │ │ └── util │ │ │ │ ├── BluetoothPermissionHelper.java │ │ │ │ ├── BluetoothUtil.java │ │ │ │ ├── LicenseUtil.java │ │ │ │ ├── PermissionsHelper.java │ │ │ │ └── Utils.java │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── correct.png │ │ │ ├── ic_launcher_background.xml │ │ │ ├── id.xml │ │ │ ├── incorrect.png │ │ │ ├── portrait.png │ │ │ └── r_icon.png │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── fragment_main.xml │ │ │ └── simple_dialog.xml │ │ │ ├── menu │ │ │ └── toolbar_actions.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── DocumentReader-sample_kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── assets │ │ │ └── Regula │ │ │ │ └── test.pdf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── regula │ │ │ │ └── documentreader │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── MainViewModel.kt │ │ │ │ ├── MainViewModelFactory.kt │ │ │ │ ├── ScenarioAdapter.kt │ │ │ │ └── util │ │ │ │ └── Utils.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── correct.png │ │ │ ├── ic_launcher_background.xml │ │ │ ├── id.xml │ │ │ ├── incorrect.png │ │ │ ├── live_portrait.png │ │ │ └── portrait.png │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ └── simple_dialog.xml │ │ │ ├── menu │ │ │ └── toolbar_actions.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── README.md ├── BleDevice └── BleDevice-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── demo │ │ │ ├── ConnectDeviceActivity.kt │ │ │ ├── MainActivity.kt │ │ │ └── util │ │ │ ├── BluetoothUtil.kt │ │ │ └── PermissionUtil.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── correct.png │ │ ├── ic_launcher_background.xml │ │ ├── id.xml │ │ ├── incorrect.png │ │ └── portrait.png │ │ ├── layout │ │ ├── activity_connect.xml │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── CertificatePinning ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── certificate.pinning │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── mrz_sample.jpg │ │ ├── layout │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ └── network_security_config.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── CustomCamera └── CustomCamera-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── customcamera_kotlin │ │ │ ├── MainActivity.kt │ │ │ └── custom │ │ │ ├── Camera2Activity.kt │ │ │ ├── CameraActivity.kt │ │ │ ├── CameraConnectionFragment.kt │ │ │ ├── CustomRegActivity.kt │ │ │ └── view │ │ │ └── AutoFitTextureView.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_camera.xml │ │ ├── activity_camera2.xml │ │ ├── activity_custom_reg.xml │ │ ├── activity_main.xml │ │ ├── camera2_fragment.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── CustomRfid-kotlin ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── customrfid_kotlin │ │ │ ├── CustomRfidActivity.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_custom_rfid.xml │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── raw │ │ └── .gitkeep │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── DownloadDatabaseSample ├── README.md ├── app │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── regula │ │ │ └── documentreader │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── regula │ │ │ │ └── documentreader │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── MainViewModel.kt │ │ │ │ ├── MainViewModelFactory.kt │ │ │ │ └── util │ │ │ │ └── Utils.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_launcher_background.xml │ │ │ └── rounded.xml │ │ │ ├── layout │ │ │ ├── main_layout.xml │ │ │ └── simple_dialog.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── regula │ │ └── documentreader │ │ └── ExampleUnitTest.kt ├── build.gradle.kts ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle.kts ├── FeatureDelivery └── FeatureDelivery-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── feature_delivery │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── regula_core_sdk │ ├── .gitignore │ ├── build.gradle │ └── src │ │ └── main │ │ └── AndroidManifest.xml │ └── settings.gradle ├── Fingerprint └── Fingerprint-kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── fingerprint_kotlin │ │ │ ├── BluetoothReaderHelper.kt │ │ │ ├── BluetoothReaderService.kt │ │ │ ├── MainActivity.kt │ │ │ └── util │ │ │ ├── BluetoothPermissionHelper.kt │ │ │ ├── Constants.kt │ │ │ └── PermissionsUtil.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── OnlineProcessing ├── OnlineProcessing-With-License-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── regula │ │ │ │ └── onlineprocessing_with_license_kotlin │ │ │ │ ├── MainActivity.kt │ │ │ │ └── util │ │ │ │ └── Constants.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ └── simple_dialog.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── OnlineProcessing-Without-License-Kotlin │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── regula │ │ │ │ └── onlineprocessing_without_license_kotlin │ │ │ │ ├── MainActivity.kt │ │ │ │ └── util │ │ │ │ └── Constants.kt │ │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ │ └── xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── README.md ├── README.md └── RfidCertificates ├── README.md ├── RfidSertificates-Default-Kotlin ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── Regula │ │ │ ├── certificates │ │ │ └── PKDML.000259.ldif │ │ │ └── certificates_ta │ │ │ ├── FRCVCA_CC.cvCert │ │ │ ├── FRCVCA_CC.pkcs8 │ │ │ ├── FRDV_CC.cvCert │ │ │ ├── FRDV_CC.pkcs8 │ │ │ ├── FRIS_CC.cvCert │ │ │ └── FRIS_CC.pkcs8 │ │ ├── java │ │ └── com │ │ │ └── regula │ │ │ └── certificates_default_kotlin │ │ │ ├── CertificatesUtil.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ └── simple_dialog.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle └── RfidSertificates-Runtime-Kotlin ├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── assets │ └── Regula │ │ └── certificates_ta │ │ ├── FRCVCA_CC.cvCert │ │ ├── FRCVCA_CC.pkcs8 │ │ ├── FRDV_CC.cvCert │ │ ├── FRDV_CC.pkcs8 │ │ ├── FRIS_CC.cvCert │ │ └── FRIS_CC.pkcs8 │ ├── java │ └── com │ │ └── regula │ │ └── rfid_certificates_runtime_kotlin │ │ ├── CertificatesUtil.kt │ │ ├── MainActivity.kt │ │ └── RfidExample.kt │ └── res │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable │ └── ic_launcher_background.xml │ ├── layout │ ├── activity_main.xml │ └── simple_dialog.xml │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── values-night │ └── themes.xml │ └── values │ ├── colors.xml │ ├── strings.xml │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Submit a request 4 | url: https://support.regulaforensics.com/hc/requests/new?utm_source=github 5 | about: Submit any requests to Regula Support Team 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | build/ 3 | -------------------------------------------------------------------------------- /1120-Without License/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle -------------------------------------------------------------------------------- /1120-Without License/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /1120-Without License/app/src/main/java/com/regula/ble_1120/util/Utils.kt: -------------------------------------------------------------------------------- 1 | package com.regula.ble_1120.util 2 | 3 | import android.content.Context 4 | import com.regula.ble_1120.R 5 | import java.io.IOException 6 | 7 | object Utils { 8 | 9 | fun getLicense(context: Context?): ByteArray? { 10 | if (context == null) return null 11 | val licInput = context.resources.openRawResource(R.raw.regula) 12 | val available: Int = try { 13 | licInput.available() 14 | } catch (e: IOException) { 15 | return null 16 | } 17 | val license = ByteArray(available) 18 | try { 19 | licInput.read(license) 20 | } catch (e: IOException) { 21 | return null 22 | } 23 | return license 24 | } 25 | } -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ble_1120 3 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /1120-Without License/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /1120-Without License/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /1120-Without License/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/1120-Without License/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /1120-Without License/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Jul 25 11:46:03 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /1120-Without License/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "ble_1120" 19 | include ':app' 20 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/assets/layer_animation.json: -------------------------------------------------------------------------------- 1 | { 2 | "objects": [ 3 | { 4 | "label": { 5 | "text": "Text With Start & End Margins, Center Text Alignment, 25% Offset From Top", 6 | "fontStyle": "normal", 7 | "fontColor": "#FF000000", 8 | "fontSize": 16, 9 | "fontName": "Arial", 10 | "alignment": "center", 11 | "background": "#AAFFFFFF", 12 | "borderRadius": 8, 13 | "margin": { 14 | "start": 24, 15 | "end": 24 16 | }, 17 | "padding": { 18 | "start": 8, 19 | "end": 8, 20 | "top": 8, 21 | "bottom": 8 22 | }, 23 | "position": { 24 | "v": 0.5 25 | } 26 | } 27 | } 28 | ], 29 | "version": "1.0" 30 | } -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/.gitignore: -------------------------------------------------------------------------------- 1 | /raw -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/big_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/big_close.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/box_outline.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/button_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/camera.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/capture.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/close.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/collapse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/collapse.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/credit_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/credit_card.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/expand.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/ic_close.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_barcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_barcode.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_mrz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_mrz.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_viz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/info_viz.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/ir.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/ir.bmp -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/light_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/light_off.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/light_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/light_on.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/one.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/reg_icon_check_fail.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | 21 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/reg_icon_check_ok.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | 21 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/reg_icon_no_check.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/rounded.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/rounded_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/rounded_full.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/rounded_gray.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/rounded_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/tab_indicator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/two.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/uv.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/uv.bmp -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/viewfinder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/viewfinder.png -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/white.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/app/src/main/res/drawable/white.bmp -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/layout/activity_start.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/layout/fragment_rv.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/layout/rv_text.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #4285F4 4 | 5 | #F1F1F1 6 | #DDDDDD 7 | #9F9F9F 8 | 9 | #1A1A1A 10 | #333333 11 | #4D4D4D 12 | 13 | #18368E 14 | 15 | @color/light_1 16 | #333333 17 | 18 | #FF3B30 19 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 12dp 3 | 5dp 4 | 20dp 5 | 15dp 6 | 7dp 7 | 5dp 8 | 15dp 9 | 35dp 10 | 45dp 11 | 20sp 12 | 22sp 13 | 60dp 14 | 5dp 15 | 1dp 16 | 8dp 17 | 5dp 18 | 30dp 19 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/app/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.21' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:7.4.2' 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 10 | } 11 | } 12 | 13 | task clean(type: Delete) { 14 | delete rootProject.buildDir 15 | } -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Advanced/DocumentReader-Kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Mar 12 16:36:38 MSK 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Advanced/DocumentReader-Kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | import org.gradle.api.initialization.resolve.RepositoriesMode 2 | 3 | dependencyResolutionManagement { 4 | repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) 5 | repositories { 6 | google() 7 | mavenCentral() 8 | jcenter() // Warning: this repository is going to shut down soon 9 | maven { 10 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 11 | } 12 | } 13 | } 14 | include ':app' 15 | rootProject.name = "DocumentReader-Kotlin" 16 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/assets/Regula/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/assets/Regula/test.pdf -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/java/com/regula/documentreader/MainViewModelFactory.kt: -------------------------------------------------------------------------------- 1 | package com.regula.documentreader 2 | 3 | import android.content.SharedPreferences 4 | import androidx.lifecycle.ViewModel 5 | import androidx.lifecycle.ViewModelProvider 6 | import com.regula.documentreader.api.DocumentReader 7 | 8 | class MainViewModelFactory(private val documentReader: DocumentReader, private val sharedPreferences: SharedPreferences): ViewModelProvider.Factory { 9 | override fun create(modelClass: Class): T { 10 | return MainViewModel( 11 | documentReader = documentReader) as T 12 | } 13 | } -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_barcode_format.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_barcode_format.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_dull_paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_dull_paper.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_encrypted_ipi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_encrypted_ipi.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_extended_mrz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_extended_mrz.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_extended_ocr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_extended_ocr.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_image_patterns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_image_patterns.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ipi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ipi.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ir_b900.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ir_b900.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ir_visibility.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_ir_visibility.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_liveness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_liveness.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_photo_embedding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_photo_embedding.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_portrait_comparison.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_portrait_comparison.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_security_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_security_text.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_uv_fibers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/auth_doc_uv_fibers.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/baseline_info_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/button_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/doc_auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/doc_auth.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/gradient_inactive_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_barcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_barcode.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_mrz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_mrz.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_viz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/info_viz.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_ir.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_ir.bmp -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_uv.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_uv.bmp -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_white.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/light_type_white.bmp -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/reg_icon_check_fail.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | 21 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/reg_icon_check_ok.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | 21 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/reg_icon_no_check.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 15 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/rounded.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/rounded_top_corners.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/shape_authenticity_check.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/shape_card_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/shape_liveness_params_inactive.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/drawable/warning.png -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/menu/toolbar_actions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.21' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:7.4.2' 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 10 | } 11 | } 12 | 13 | task clean(type: Delete) { 14 | delete rootProject.buildDir 15 | } -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Authenticity/DocumentReader-authenticity-sample_kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /Authenticity/DocumentReader-authenticity-sample_kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | import org.gradle.api.initialization.resolve.RepositoriesMode 2 | 3 | dependencyResolutionManagement { 4 | repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) 5 | repositories { 6 | google() 7 | mavenCentral() 8 | jcenter() // Warning: this repository is going to shut down soon 9 | maven { 10 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 11 | } 12 | } 13 | } 14 | include ':app' 15 | rootProject.name = "DocumentReader-Kotlin" 16 | -------------------------------------------------------------------------------- /BackendProcessing/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /BackendProcessing/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /BackendProcessing/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/java/com/regula/backend.processing/Constants.kt: -------------------------------------------------------------------------------- 1 | package com.regula.backend.processing 2 | object Constants { 3 | const val BASE_URL = "https://api.regulaforensics.com" 4 | } 5 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BackendProcessingSample 3 | -------------------------------------------------------------------------------- /BackendProcessing/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /BackendProcessing/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /BackendProcessing/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/BackendProcessing/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /BackendProcessing/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 20 09:54:26 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /BackendProcessing/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "BackendProcessing" 19 | include ':app' 20 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | app/build 3 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/assets/Regula/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/app/src/main/assets/Regula/test.pdf -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable/correct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/app/src/main/res/drawable/correct.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable/incorrect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/app/src/main/res/drawable/incorrect.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/app/src/main/res/drawable/portrait.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/drawable/r_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/app/src/main/res/drawable/r_icon.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/menu/toolbar_actions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Document Reader 3 | 4 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | } 6 | dependencies { 7 | classpath 'com.android.tools.build:gradle:7.1.0' 8 | } 9 | } 10 | 11 | task clean(type: Delete) { 12 | delete rootProject.buildDir 13 | } -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | android.enableJetifier=true 13 | android.useAndroidX=true 14 | org.gradle.jvmargs=-Xmx1536m 15 | 16 | # When configured, Gradle will run in incubating parallel mode. 17 | # This option should only be used with decoupled projects. More details, visit 18 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 19 | # org.gradle.parallel=true 20 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_java/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 26 18:06:35 MSK 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | 8 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_java/settings.gradle: -------------------------------------------------------------------------------- 1 | import org.gradle.api.initialization.resolve.RepositoriesMode 2 | 3 | dependencyResolutionManagement { 4 | repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) 5 | repositories { 6 | google() 7 | mavenCentral() 8 | jcenter() // Warning: this repository is going to shut down soon 9 | maven { 10 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 11 | } 12 | } 13 | } 14 | include ':app' 15 | rootProject.name = "DocumentReader-sample" 16 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | .idea 4 | /local.properties 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | *.license 12 | *.dat -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/assets/Regula/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/app/src/main/assets/Regula/test.pdf -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/java/com/regula/documentreader/MainViewModelFactory.kt: -------------------------------------------------------------------------------- 1 | package com.regula.documentreader 2 | 3 | import android.content.SharedPreferences 4 | import androidx.lifecycle.ViewModel 5 | import androidx.lifecycle.ViewModelProvider 6 | import com.regula.documentreader.api.DocumentReader 7 | 8 | class MainViewModelFactory(private val documentReader: DocumentReader, private val sharedPreferences: SharedPreferences): ViewModelProvider.Factory { 9 | override fun create(modelClass: Class): T { 10 | return MainViewModel( 11 | documentReader = documentReader, 12 | sharedPreferences = sharedPreferences) as T 13 | } 14 | } -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/correct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/correct.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/incorrect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/incorrect.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/live_portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/live_portrait.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/app/src/main/res/drawable/portrait.png -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/menu/toolbar_actions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | DocumentReaderKotlin 3 | Surname and given names 4 | Portrait 5 | portrait image 6 | Document image: 7 | document image 8 | Use recognizeImage() method 9 | Use showScanner() method 10 | Perform NFC chip reading 11 | 12 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.21' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:7.4.2' 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 10 | } 11 | } 12 | 13 | task clean(type: Delete) { 14 | delete rootProject.buildDir 15 | } -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # Kotlin code style for this project: "official" or "obsolete": 15 | kotlin.code.style=official 16 | android.useAndroidX=true 17 | android.enableJetifier=true 18 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/Basic/DocumentReader-sample_kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Aug 31 15:24:59 MSK 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Basic/DocumentReader-sample_kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | import org.gradle.api.initialization.resolve.RepositoriesMode 2 | 3 | dependencyResolutionManagement { 4 | repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) 5 | repositories { 6 | google() 7 | mavenCentral() 8 | jcenter() // Warning: this repository is going to shut down soon 9 | maven { 10 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 11 | } 12 | } 13 | } 14 | include ':app' 15 | rootProject.name = "DocumentReader-Kotlin" 16 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | app/build -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/correct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/correct.png -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/incorrect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/incorrect.png -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/BleDevice/BleDevice-Kotlin/app/src/main/res/drawable/portrait.png -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BleDevice Demo 3 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/BleDevice/BleDevice-Kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Jul 25 11:46:03 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /BleDevice/BleDevice-Kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | maven { 17 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Beta") 18 | } 19 | } 20 | } 21 | rootProject.name = "BleDeviceDemo" 22 | include ':app' 23 | -------------------------------------------------------------------------------- /CertificatePinning/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /CertificatePinning/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /CertificatePinning/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/drawable/mrz_sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/CertificatePinning/app/src/main/res/drawable/mrz_sample.jpg -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CertificatePinningSample 3 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /CertificatePinning/app/src/main/res/xml/network_security_config.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | regulaforensics.com 5 | 6 | /5RKFaPkCjAzvsEZHOlYqncYADaLIG5VfTmhsBbkaBk= 7 | 8 | 9 | -------------------------------------------------------------------------------- /CertificatePinning/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /CertificatePinning/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/CertificatePinning/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /CertificatePinning/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 20 09:54:26 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /CertificatePinning/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "CertificatePinning" 19 | include ':app' 20 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea 5 | .DS_Store 6 | /build 7 | /captures 8 | .externalNativeBuild 9 | .cxx 10 | local.properties 11 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/layout/activity_camera.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/layout/camera2_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 15 | 16 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CustomCamera-kotlin 3 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/CustomCamera/CustomCamera-Kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jul 21 13:41:57 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /CustomCamera/CustomCamera-Kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "CustomCamera-kotlin" 19 | include ':app' 20 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.idea -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/raw/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/CustomRfid-kotlin/app/src/main/res/raw/.gitkeep -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CustomRfid-kotlin 3 | Surname and given names 4 | Portrait 5 | portrait image 6 | Document image: 7 | document image 8 | Use recognizeImage() method 9 | Use showScanner() method 10 | Perform NFC chip reading 11 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | } 7 | 8 | task clean(type: Delete) { 9 | delete rootProject.buildDir 10 | } -------------------------------------------------------------------------------- /CustomRfid-kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/CustomRfid-kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /CustomRfid-kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jul 15 16:51:34 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /CustomRfid-kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "CustomRfid-kotlin" 19 | include ':app' 20 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/androidTest/java/com/regula/documentreader/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.regula.documentreader 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.regula.documentreader", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/java/com/regula/documentreader/MainViewModelFactory.kt: -------------------------------------------------------------------------------- 1 | package com.regula.documentreader 2 | 3 | import androidx.lifecycle.ViewModel 4 | import androidx.lifecycle.ViewModelProvider 5 | import com.regula.documentreader.api.DocumentReader 6 | 7 | class MainViewModelFactory(private val documentReader: DocumentReader): ViewModelProvider.Factory { 8 | 9 | override fun create(modelClass: Class): T { 10 | return MainViewModel(documentReader) as T 11 | } 12 | } -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/drawable/rounded.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | 11 | @color/purple_200 12 | @color/purple_500 13 | @color/purple_700 14 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Regula DB sample 3 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/app/src/test/java/com/regula/documentreader/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.regula.documentreader 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /DownloadDatabaseSample/build.gradle.kts: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id("com.android.application") version "8.2.1" apply false 4 | id("org.jetbrains.kotlin.android") version "1.9.0" apply false 5 | } -------------------------------------------------------------------------------- /DownloadDatabaseSample/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/DownloadDatabaseSample/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /DownloadDatabaseSample/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Feb 29 13:51:05 MSK 2024 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /DownloadDatabaseSample/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | 19 | rootProject.name = "DownloadDatabaseSample" 20 | include(":app") 21 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/layout/simple_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | FeatureDelivery 3 | Regula CoreSDK 4 | Loading 5 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | plugins { 3 | id 'com.android.application' version '7.2.1' apply false 4 | id 'com.android.library' version '7.2.1' apply false 5 | id 'org.jetbrains.kotlin.android' version '1.6.10' apply false 6 | id 'com.android.dynamic-feature' version '7.2.1' apply false 7 | } 8 | 9 | task clean(type: Delete) { 10 | delete rootProject.buildDir 11 | } -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regulaforensics/DocumentReader-Android/792c490d55ead694218663130aca488d688503ee/FeatureDelivery/FeatureDelivery-Kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 20 09:54:26 MSK 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/regula_core_sdk/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/regula_core_sdk/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.dynamic-feature' 3 | } 4 | android { 5 | compileSdk 32 6 | 7 | defaultConfig { 8 | minSdk 21 9 | } 10 | } 11 | 12 | dependencies { 13 | implementation project(":app") 14 | implementation 'com.regula.documentreader.core:fullrfid:7.7.+@aar' 15 | } -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/regula_core_sdk/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /FeatureDelivery/FeatureDelivery-Kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | maven { 14 | url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") 15 | } 16 | } 17 | } 18 | rootProject.name = "Feature_Delivery" 19 | include ':app' 20 | include ':regula_core_sdk' -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/src/main/java/com/regula/fingerprint_kotlin/util/PermissionsUtil.kt: -------------------------------------------------------------------------------- 1 | package com.regula.fingerprint_kotlin.util 2 | 3 | import android.Manifest 4 | 5 | object PermissionsUtil { 6 | val BLE_PERMISSIONS = arrayOf( 7 | Manifest.permission.ACCESS_COARSE_LOCATION, 8 | Manifest.permission.ACCESS_FINE_LOCATION 9 | ) 10 | } -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /Fingerprint/Fingerprint-kotlin/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |