Skip to content

Commit

Permalink
Merge pull request #32 from PDF417/feature/v6.4.0
Browse files Browse the repository at this point in the history
Feature/v6.4.0
  • Loading branch information
i1E authored May 19, 2017
2 parents e4ac16b + da172a8 commit cb80714
Show file tree
Hide file tree
Showing 35 changed files with 619 additions and 287 deletions.
Binary file modified LibPdf417Mobi-javadoc.jar
Binary file not shown.
Binary file modified LibPdf417Mobi.aar
Binary file not shown.
4 changes: 2 additions & 2 deletions Pdf417MobiDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:2.3.2'
}
}

Expand All @@ -19,7 +19,7 @@ allprojects {
// versions of libraries that all modules require

project.ext {
pdf417MobiVersion = '6.3.0'
pdf417MobiVersion = '6.4.0'
compileSdkVersion = 25
targetSdkVersion = 25
buildToolsVersion = '25.0.2'
Expand Down
2 changes: 1 addition & 1 deletion Pdf417MobiDemo/pdf417MobiDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {

defaultConfig {
applicationId "com.microblink.barcode"
minSdkVersion 10
minSdkVersion 16
targetSdkVersion rootProject.ext.targetSdkVersion
}

Expand Down
16 changes: 0 additions & 16 deletions Pdf417MobiDemo/pdf417MobiDemo/proguard-project.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,3 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

-keep class net.photopay.** { *; }

-keepclassmembers class net.photopay.** {
*;
}

-keep class mobi.pdf417.** { *; }

-keepclassmembers class mobi.pdf417.** {
*;
}

-dontwarn android.hardware.**

-dontwarn android.support.v4.**
2 changes: 1 addition & 1 deletion Pdf417MobiDemo/pdf417MobiDemoCustomUI/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {

defaultConfig {
applicationId "com.microblink.barcode"
minSdkVersion 10
minSdkVersion 16
targetSdkVersion rootProject.ext.targetSdkVersion
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:id="@+id/recognizerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
custom:initialOrientation="portrait">
custom:mb_initialOrientation="portrait">

</com.microblink.view.recognition.RecognizerView>

Expand Down
2 changes: 1 addition & 1 deletion Pdf417MobiDemo/pdf417MobiDirectAPIDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android {
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
applicationId 'com.microblink.barcode'
minSdkVersion 10
minSdkVersion 16
targetSdkVersion rootProject.ext.targetSdkVersion
}
lintOptions {
Expand Down
13 changes: 1 addition & 12 deletions Pdf417MobiDemo/pdf417MobiDirectAPIDemo/proguard-project.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,4 @@
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}


-keep class com.microblink.** { *; }

-keepclassmembers class com.microblink.** {
*;
}

-dontwarn android.hardware.**

-dontwarn android.support.v4.**
#}
77 changes: 20 additions & 57 deletions README.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Release notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release notes

## 6.4.0
- `LibPDF417` is now fully ProGuard-compatible, i.e. you no longer need to exclude `com.microblink.**` classes in your ProGuard configuration
- removed support for Android 2.3 and Android 4.0 - minimum required Android version is now Android 4.1 (API level 16)
- devices with Android 4.0 and earlier take [less than 2% of market share](https://developer.android.com/about/dashboards/index.html#Platform) and is very costly to support them
- removed support for `armeabi` devices and ARMv7 devices without NEON SIMD support
- support for ARMv7 devices with NEON support still remains

## 6.3.0
- fixed `UnsatisfiedLinkError` that happened on pre-Lollipop devices and was introduced in v6.2.1
- optimised native binary size
Expand Down
2 changes: 1 addition & 1 deletion builtFromCommit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Built from commit 9834700f68bcfdda0f169b642f4fa507c8fc4d5f
Built from commit 919a9f811f180443db29f401a816b1c71074c042
1 change: 1 addition & 0 deletions docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/microblink/view/OnSizeChangedListener.html" title="interface in com.microblink.view" target="classFrame"><span class="interfaceName">OnSizeChangedListener</span></a></li>
<li><a href="com/microblink/hardware/orientation/Orientation.html" title="enum in com.microblink.hardware.orientation" target="classFrame">Orientation</a></li>
<li><a href="com/microblink/view/OrientationAllowedListener.html" title="interface in com.microblink.view" target="classFrame"><span class="interfaceName">OrientationAllowedListener</span></a></li>
<li><a href="com/microblink/view/recognition/ParcelableScanResultListener.html" title="interface in com.microblink.view.recognition" target="classFrame"><span class="interfaceName">ParcelableScanResultListener</span></a></li>
<li><a href="com/microblink/recognizers/blinkbarcode/pdf417/Pdf417RecognizerSettings.html" title="class in com.microblink.recognizers.blinkbarcode.pdf417" target="classFrame">Pdf417RecognizerSettings</a></li>
<li><a href="com/microblink/activity/Pdf417ScanActivity.html" title="class in com.microblink.activity" target="classFrame">Pdf417ScanActivity</a></li>
<li><a href="com/microblink/recognizers/blinkbarcode/pdf417/Pdf417ScanResult.html" title="class in com.microblink.recognizers.blinkbarcode.pdf417" target="classFrame">Pdf417ScanResult</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/microblink/view/OnSizeChangedListener.html" title="interface in com.microblink.view"><span class="interfaceName">OnSizeChangedListener</span></a></li>
<li><a href="com/microblink/hardware/orientation/Orientation.html" title="enum in com.microblink.hardware.orientation">Orientation</a></li>
<li><a href="com/microblink/view/OrientationAllowedListener.html" title="interface in com.microblink.view"><span class="interfaceName">OrientationAllowedListener</span></a></li>
<li><a href="com/microblink/view/recognition/ParcelableScanResultListener.html" title="interface in com.microblink.view.recognition"><span class="interfaceName">ParcelableScanResultListener</span></a></li>
<li><a href="com/microblink/recognizers/blinkbarcode/pdf417/Pdf417RecognizerSettings.html" title="class in com.microblink.recognizers.blinkbarcode.pdf417">Pdf417RecognizerSettings</a></li>
<li><a href="com/microblink/activity/Pdf417ScanActivity.html" title="class in com.microblink.activity">Pdf417ScanActivity</a></li>
<li><a href="com/microblink/recognizers/blinkbarcode/pdf417/Pdf417ScanResult.html" title="class in com.microblink.recognizers.blinkbarcode.pdf417">Pdf417ScanResult</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/com/microblink/geometry/Rectangle.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ <h3>Field Detail</h3>
<ul class="blockListLast">
<li class="blockList">
<h4>CREATOR</h4>
<pre>public static&nbsp;android.os.Parcelable.Creator&lt;<a href="../../../com/microblink/geometry/Rectangle.html" title="class in com.microblink.geometry">Rectangle</a>&gt; CREATOR</pre>
<pre>public static final&nbsp;android.os.Parcelable.Creator&lt;<a href="../../../com/microblink/geometry/Rectangle.html" title="class in com.microblink.geometry">Rectangle</a>&gt; CREATOR</pre>
</li>
</ul>
</li>
Expand Down
56 changes: 49 additions & 7 deletions docs/com/microblink/recognizers/BaseRecognitionResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
Expand Down Expand Up @@ -222,36 +222,48 @@ <h3>Method Summary</h3>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getResultHolder--">getResultHolder</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getSignature--">getSignature</a></span>()</code>
<div class="block">Returns digital signature of recognition results.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getSignatureVersion--">getSignatureVersion</a></span>()</code>
<div class="block">Returns digital signature version.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getStringElement-java.lang.String-">getStringElement</a></span>(java.lang.String&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getTitle--">getTitle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isEmpty--">isEmpty</a></span>()</code>
<div class="block">Flag denoting no data was recognized.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isValid--">isValid</a></span>()</code>
<div class="block">Flag denoting recognizer believes this is valid data.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#log--">log</a></span>()</code>
<div class="block">Logs recognition data object to Logcat</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#writeToParcel-android.os.Parcel-int-">writeToParcel</a></span>(android.os.Parcel&nbsp;dest,
int&nbsp;flags)</code>
Expand Down Expand Up @@ -399,6 +411,36 @@ <h4>getBooleanElement</h4>
<pre>public&nbsp;boolean&nbsp;getBooleanElement(java.lang.String&nbsp;key)</pre>
</li>
</ul>
<a name="getSignature--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSignature</h4>
<pre>@Nullable
public&nbsp;byte[]&nbsp;getSignature()</pre>
<div class="block">Returns digital signature of recognition results.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>signature if available, null otherwise</dd>
</dl>
</li>
</ul>
<a name="getSignatureVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSignatureVersion</h4>
<pre>@Nullable
public&nbsp;java.lang.String&nbsp;getSignatureVersion()</pre>
<div class="block">Returns digital signature version.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>signature version</dd>
</dl>
</li>
</ul>
<a name="isValid--">
<!-- -->
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/com/microblink/recognizers/LibraryInfoResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h3>Method Summary</h3>
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.microblink.recognizers.<a href="../../../com/microblink/recognizers/BaseRecognitionResult.html" title="class in com.microblink.recognizers">BaseRecognitionResult</a></h3>
<code><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#describeContents--">describeContents</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getBooleanElement-java.lang.String-">getBooleanElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getIntElement-java.lang.String-">getIntElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getResultHolder--">getResultHolder</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getStringElement-java.lang.String-">getStringElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isEmpty--">isEmpty</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isValid--">isValid</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#log--">log</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#writeToParcel-android.os.Parcel-int-">writeToParcel</a></code></li>
<code><a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#describeContents--">describeContents</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getBooleanElement-java.lang.String-">getBooleanElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getIntElement-java.lang.String-">getIntElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getResultHolder--">getResultHolder</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getSignature--">getSignature</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getSignatureVersion--">getSignatureVersion</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#getStringElement-java.lang.String-">getStringElement</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isEmpty--">isEmpty</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#isValid--">isValid</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#log--">log</a>, <a href="../../../com/microblink/recognizers/BaseRecognitionResult.html#writeToParcel-android.os.Parcel-int-">writeToParcel</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
Expand Down
Loading

0 comments on commit cb80714

Please sign in to comment.