diff --git a/BlinkIDSample/BlinkID-ImagesSample/src/main/java/com/microblink/blinkid/MainActivity.java b/BlinkIDSample/BlinkID-ImagesSample/src/main/java/com/microblink/blinkid/MainActivity.java index b5a9d674..7c0b27eb 100644 --- a/BlinkIDSample/BlinkID-ImagesSample/src/main/java/com/microblink/blinkid/MainActivity.java +++ b/BlinkIDSample/BlinkID-ImagesSample/src/main/java/com/microblink/blinkid/MainActivity.java @@ -59,9 +59,9 @@ protected List createMenuListItems() { new MenuListItem("Scan document", new Runnable() { @Override public void run() { - if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.R){ + if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { startScanning(); - } else{ + } else { if (ContextCompat.checkSelfPermission(MainActivity.this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) { // request write permission @@ -147,7 +147,8 @@ private void storeImage(String imageName, @Nullable Image image) { } @Override - public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { + public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, + @NonNull int[] grantResults) { if (requestCode == REQUEST_WRITE_EXTERNAL_STORAGE) { // If request is cancelled, the result arrays are empty. if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { diff --git a/BlinkIDSample/BlinkID-aMinimalSample/src/main/assets/com.microblink.blinkid.mblic b/BlinkIDSample/BlinkID-aMinimalSample/src/main/assets/com.microblink.blinkid.mblic index a03e13d8..1f482b70 100644 Binary files a/BlinkIDSample/BlinkID-aMinimalSample/src/main/assets/com.microblink.blinkid.mblic and b/BlinkIDSample/BlinkID-aMinimalSample/src/main/assets/com.microblink.blinkid.mblic differ diff --git a/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic b/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic index a03e13d8..1f482b70 100644 Binary files a/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic and b/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic differ diff --git a/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/util/FileUtils.java b/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/util/FileUtils.java index 52016b86..69f63f6e 100644 --- a/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/util/FileUtils.java +++ b/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/util/FileUtils.java @@ -28,10 +28,10 @@ public static byte[] loadBytesFromFileUri(Uri fileUri, Context context) { return buffer.toByteArray(); } catch (FileNotFoundException e) { e.printStackTrace(); - Toast.makeText(context, com.microblink.libutils.R.string.toast_error_open_file, Toast.LENGTH_SHORT).show(); + Toast.makeText(context, R.string.toast_error_open_file, Toast.LENGTH_SHORT).show(); } catch (IOException e) { e.printStackTrace(); - Toast.makeText(context, com.microblink.libutils.R.string.toast_error_read_file, Toast.LENGTH_SHORT).show(); + Toast.makeText(context, R.string.toast_error_read_file, Toast.LENGTH_SHORT).show(); } finally { try { fileStream.close(); diff --git a/BlinkIDSample/LibUtils/src/main/res/values-de/strings.xml b/BlinkIDSample/LibUtils/src/main/res/values-de/strings.xml index aa036c4a..888d38c2 100644 --- a/BlinkIDSample/LibUtils/src/main/res/values-de/strings.xml +++ b/BlinkIDSample/LibUtils/src/main/res/values-de/strings.xml @@ -3,7 +3,7 @@ Betrag - Währung + W??hrung Kontonr. Referenznr. Modell @@ -12,17 +12,17 @@ IBAN BIC Belegart - Überweisung ID - Empfänger ID + ??berweisung ID + Empf??nger ID Auftraggeber Auftraggeber Adresse Auftraggeber noch Adresse - Empfänger + Empf??nger Adresse Noch Adresse Verwendungszweck ID Verwendungszweck - Fälligkeit + F??lligkeit Status Kontonr. Referenznr. @@ -31,25 +31,25 @@ Name der Bank IBAN Datentyp - Geschäftscode + Gesch??ftscode Steuernummer Kundendaten - Prüfziffer + Pr??fziffer Belegnr. Vertragskonto Anzeige Art der Vorlage - Datum der Ausführung - Gläubiger-ID + Datum der Ausf??hrung + Gl??ubiger-ID Datum der Unterschrift Formularfunktion Formulartyp Formularversion Mandats-ID - Periodisches erstes Ausführungsdatum - Datum der letzten Ausführung + Periodisches erstes Ausf??hrungsdatum + Datum der letzten Ausf??hrung Periodische Zeiteinheit Zeitraum Dauer - Buchungsschlüssel + Buchungsschl??ssel \ No newline at end of file diff --git a/BlinkIDSample/LibUtils/src/main/res/values-hr/strings.xml b/BlinkIDSample/LibUtils/src/main/res/values-hr/strings.xml index c4e0711b..c4f0c8e7 100644 --- a/BlinkIDSample/LibUtils/src/main/res/values-hr/strings.xml +++ b/BlinkIDSample/LibUtils/src/main/res/values-hr/strings.xml @@ -3,8 +3,8 @@ Iznos Valuta - Broj računa - Broj računa primatelja + Broj ra??una + Broj ra??una primatelja Broj odobrenja Model PNB status @@ -21,24 +21,24 @@ Ime primatelja Adresa primatelja Dodatna adresa primatelja - Kod plaćanja - Kod opisa plaćanja - Opis plaćanja - Dospijeće plaćanja - Status plaćanja - Broj računa platitelja + Kod pla??anja + Kod opisa pla??anja + Opis pla??anja + Dospije??e pla??anja + Status pla??anja + Broj ra??una platitelja Broj odobrenja platitelja Model platitelja Banka platitelja Ime banke platitelja IBAN platitelja Tip podataka - Šifra namjene + ??ifra namjene Porezni broj Korisnik Kontrolne znamenke Podtip uplatnice - Račun po ugovoru + Ra??un po ugovoru Podaci za prikaz Dodatni podaci Identifikacijski kod @@ -50,10 +50,10 @@ Funkcija obrasca Tip obrasca Verzija obrasca - ID ovlaštenja - Datum prvog izvršenja - Datum posljednjeg izvršenja + ID ovla??tenja + Datum prvog izvr??enja + Datum posljednjeg izvr??enja Vremenska jedinica perioda Trajanje perioda - Ključ knjiženja + Klju?? knji??enja \ No newline at end of file diff --git a/BlinkIDSample/build.gradle b/BlinkIDSample/build.gradle index d7e61748..9ea1b6d7 100644 --- a/BlinkIDSample/build.gradle +++ b/BlinkIDSample/build.gradle @@ -17,7 +17,7 @@ allprojects { repositories { mavenCentral() maven { url 'https://maven.microblink.com' } -// mavenLocal() + //mavenLocal() google() } } @@ -25,7 +25,7 @@ allprojects { // versions of libraries that all modules require project.ext { - blinkIdVersion = '6.1.0' + blinkIdVersion = '6.1.1' compileSdkVersion = 33 targetSdkVersion = 33 appCompatVersion = '1.4.0' diff --git a/LibBlinkID-javadoc.jar b/LibBlinkID-javadoc.jar index 1f3ae10d..8d2d8aaa 100644 Binary files a/LibBlinkID-javadoc.jar and b/LibBlinkID-javadoc.jar differ diff --git a/LibBlinkID.aar b/LibBlinkID.aar index 18a85617..9e17b0ae 100644 Binary files a/LibBlinkID.aar and b/LibBlinkID.aar differ diff --git a/README.md b/README.md index fbbef5e8..10275de5 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ With one quick scan, your users will be able to extract information from their i BlinkID is: - **Fast**. Real-time data extraction in less than 400ms. Way better than minutes-long form-filling. -- **Secure**. Privacy first, always. Scanning works even if the user?s phone is in airplane mode, meaning personal information never touches a third-party server. +- **Secure**. Privacy first, always. Scanning works even if the user's phone is in airplane mode, meaning personal information never touches a third-party server. - **Intelligent**. Machine learning models, optimized to read and parse identity documents from more than 180 countries worldwide, automatically, no need to preselect any of them. -- **Lightweight**. Designed to increase your app?s usability, not weight. -- **What you make of it**. Customize and rebrand the default UI or leave it as it is. It?s up to you. +- **Lightweight**. Designed to increase your app's usability, not weight. +- **What you make of it**. Customize and rebrand the default UI or leave it as it is. It's up to you. - **More than just a powerful ID scanner**. Powerful data extraction, coupled with powerful perks. Get a cropped document image back, spot printed documents or data match both sides of the ID for parity.

@@ -27,7 +27,7 @@ To see all of these features at work download our free demo app: [![Vision App](https://raw.githubusercontent.com/wiki/blinkid/blinkid-android/images/playstore.png)](https://showcase.page.link/githubAndroid) [![Vision App](https://raw.githubusercontent.com/wiki/blinkid/blinkid-android/images/appgallery.png)](https://appgallery7.huawei.com/#/app/C101961459) -Feeling ready to crack on with the integration? First make sure we support your document type ?? [full list](https://microblink.com/full-list-of-supported-identity-documents/). And then follow the guidelines below. +Feeling ready to crack on with the integration? First make sure we support your document type ➡️ [full list](https://microblink.com/full-list-of-supported-identity-documents/). And then follow the guidelines below. # Table of contents @@ -113,7 +113,7 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true ``` dependencies { - implementation('com.microblink:blinkid:6.1.0@aar') { + implementation('com.microblink:blinkid:6.1.1@aar') { transitive = true } } @@ -125,7 +125,7 @@ Android studio 3.0 should automatically import javadoc from maven dependency. If 1. In Android Studio project sidebar, ensure [project view is enabled](https://developer.android.com/sdk/installing/studio-androidview.html) 2. Expand `External Libraries` entry (usually this is the last entry in project view) -3. Locate `blinkid-6.1.0` entry, right click on it and select `Library Properties...` +3. Locate `blinkid-6.1.1` entry, right click on it and select `Library Properties...` 4. A `Library Properties` pop-up window will appear 5. Click the second `+` button in bottom left corner of the window (the one that contains `+` with little globe) 6. Window for defining documentation URL will appear @@ -1081,7 +1081,7 @@ You need to ensure that the final app gets all resources required by _BlinkID_. This problem is usually solved with transitive Maven dependencies, i.e. when publishing your AAR to Maven you specify dependencies of your AAR so they are automatically referenced by app using your AAR. Besides this, there are also several other approaches you can try: - you can ask your clients to reference _BlinkID_ in their app when integrating your SDK -- since the problem lies in resource merging part you can try avoiding this step by ensuring your library will not use any component from _BlinkID_ that uses resources (i.e. built-in activities, fragments and views, except `RecognizerRunnerView`). You can perform [custom UI integration](#recognizer-runner-view) while taking care that all resources (strings, layouts, images, ...) used are solely from your AAR, not from _BlinkID_. Then, in your AAR you should not reference `LibBlinkID.aar` as gradle dependency, instead you should unzip it and copy its assets to your AAR?s assets folder, its `classes.jar` to your AAR?s lib folder (which should be referenced by gradle as jar dependency) and contents of its jni folder to your AAR?s src/main/jniLibs folder. +- since the problem lies in resource merging part you can try avoiding this step by ensuring your library will not use any component from _BlinkID_ that uses resources (i.e. built-in activities, fragments and views, except `RecognizerRunnerView`). You can perform [custom UI integration](#recognizer-runner-view) while taking care that all resources (strings, layouts, images, ...) used are solely from your AAR, not from _BlinkID_. Then, in your AAR you should not reference `LibBlinkID.aar` as gradle dependency, instead you should unzip it and copy its assets to your AAR?s assets folder, its `classes.jar` to your AAR?s lib folder (which should be referenced by gradle as jar dependency) and contents of its jni folder to your AAR's src/main/jniLibs folder. - Another approach is to use [3rd party unofficial gradle script](https://github.com/adwiv/android-fat-aar) that aim to combine multiple AARs into single fat AAR. Use this script at your own risk and report issues to [its developers](https://github.com/adwiv/android-fat-aar/issues) - we do not offer support for using that script. - There is also a [3rd party unofficial gradle plugin](https://github.com/Vigi0303/fat-aar-plugin) which aims to do the same, but is more up to date with latest updates to Android gradle plugin. Use this plugin at your own risk and report all issues with using to [its developers](https://github.com/Vigi0303/fat-aar-plugin/issues) - we do not offer support for using that plugin. @@ -1215,7 +1215,7 @@ When you have to determine what is the license-relate problem or you simply do n **Keep in mind:** Versions 5.8.0 and above require an internet connection to work under our new License Management Program. -We?re only asking you to do this so we can validate your trial license key. Data extraction still happens offline, on the device itself. +We're only asking you to do this so we can validate your trial license key. Data extraction still happens offline, on the device itself. Once the validation is complete, you can continue using the SDK in offline mode (or over a private network) until the next check. ### Other problems @@ -1278,7 +1278,7 @@ This usually happens when you attempt to transfer standalone `Result` that conta When automatic scanning of camera frames with our camera management is used (provided camera overlays or direct usage of `RecognizerRunnerView`), we use a stream of video frames and send multiple images to the recognition to boost reading accuracy. Also, we perform frame quality analysis and combine scanning results from multiple camera frames. On the other hand, when you are using the Direct API with a single image per document side, we cannot combine multiple images. We do our best to extract as much information as possible from that image. In some cases, when the quality of the input image is not good enough, for example, when the image is blurred or when glare is present, we are not able to successfully read the document. -#### I am getting a ???Network required??? error when I'm on a private network +#### I am getting a 'Network required' error when I'm on a private network Online trial licenses require a public network access for validation purposes. See [Licensing issues](#licensing-issues). diff --git a/Release notes.md b/Release notes.md index f3c8075a..d722b959 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,5 +1,8 @@ # Release notes +## v6.1.1 +- Internal improvements + ## v6.1.0 ### New features - new and improved machine learning models for data extraction diff --git a/builtFromCommit.txt b/builtFromCommit.txt index ce7773d2..cdbf887c 100644 --- a/builtFromCommit.txt +++ b/builtFromCommit.txt @@ -1 +1 @@ -Built from commit f6b387d8dbefd9a3c506e3463058413830f44084 +Built from commit c94753b8b23d3549a3abb794c7e1fbddd7fe7816 diff --git a/docs/member-search-index.zip b/docs/member-search-index.zip index f6859a1c..5ab6dade 100644 Binary files a/docs/member-search-index.zip and b/docs/member-search-index.zip differ diff --git a/docs/package-search-index.zip b/docs/package-search-index.zip index d83b5b47..af47ec6b 100644 Binary files a/docs/package-search-index.zip and b/docs/package-search-index.zip differ diff --git a/docs/type-search-index.zip b/docs/type-search-index.zip index 91da8f30..c3358795 100644 Binary files a/docs/type-search-index.zip and b/docs/type-search-index.zip differ diff --git a/pom.xml b/pom.xml index 7c48e340..f329f7de 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.microblink blinkid - 6.1.0 + 6.1.1 aar BlinkID SDK for Android SDK that enables scanning of ID documents and passports in your Android application