Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Commit dbbdbdc

Browse files
author
Jeff Brateman
committed
Update library to 5.3.0
1 parent 0db0740 commit dbbdbdc

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ All releases follow [semantic versioning](http://semver.org/).
1414
The latest version is available via `mavenCentral()`. Just add the following dependency:
1515

1616
```
17-
compile 'io.card:android-sdk:5.2.0'
17+
compile 'io.card:android-sdk:5.3.0'
1818
```
1919

2020
You can receive updates about new versions via a few different channels:
@@ -46,7 +46,7 @@ A manual entry fallback mode is provided for devices that do not meet these requ
4646
##### If you use gradle, then add the following dependency from `mavenCentral()`:
4747

4848
```
49-
compile 'io.card:android-sdk:5.2.0'
49+
compile 'io.card:android-sdk:5.3.0'
5050
```
5151

5252
##### If you use something other than gradle, then:

SampleApp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies {
5252
if (parent != null) {
5353
compile project(':card.io')
5454
} else {
55-
compile 'io.card:android-sdk:5.2.0'
55+
compile 'io.card:android-sdk:5.3.0'
5656
}
5757
}
5858

SampleApp/src/main/java/org/my/scanExample/MyScanActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public void onScanPress(View v) {
5353
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_EXPIRY, true); // default: false
5454
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CVV, false); // default: false
5555
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_POSTAL_CODE, false); // default: false
56+
scanIntent.putExtra(CardIOActivity.EXTRA_RESTRICT_POSTAL_CODE_TO_NUMERIC_ONLY, false); // default: false
5657
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CARDHOLDER_NAME, false); // default: false
5758

5859
// hides the manual entry button
Binary file not shown.

release_notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
card.io Android SDK change log and release notes
22
================================================
33

4+
5.3.0
5+
-----
6+
* Add option for only numeric input for postal code, `EXTRA_RESTRICT_POSTAL_CODE_TO_NUMERIC_ONLY` [#100](https://github.com/card-io/card.io-Android-SDK/issues/100).
7+
48
5.2.0
59
-----
610
* Add Cardholder Name to list of available manual entry fields, enabled via `CardIOActivity.EXTRA_REQUIRE_CARDHOLDER_NAME`. (Thank you Dan Nizri and Zach Sweigart!)

0 commit comments

Comments
 (0)