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

Commit

Permalink
Update library to 5.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brateman committed Mar 28, 2016
1 parent 7ddac2b commit 03177e6
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 106 deletions.
27 changes: 22 additions & 5 deletions release_notes.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
card.io Android SDK change log and release notes
================================================

5.3.1
-----
* Fix issue where the camera was flipped when the app was backgrounded with card.io open [#118](https://github.com/card-io/card.io-Android-SDK/issues/118).
* Add proguard config to `aar` file [112](https://github.com/card-io/card.io-Android-SDK/issues/112), [#117](https://github.com/card-io/card.io-Android-SDK/issues/117).

5.3.0
-----
* 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).
Expand Down Expand Up @@ -154,6 +159,10 @@ We are continuing to work to improve expiry-scanning accuracy.
--------------------
* Client side scanning!

3.0.0
--------------------
* Skipped

2.4.3 - Aug 31, 2012
--------------------
* Correct layouts for high resolution cameras & xhdpi displays
Expand All @@ -169,7 +178,7 @@ We are continuing to work to improve expiry-scanning accuracy.
* Work around a crash in some Qualcomm camera drivers. (e.g. Samsung Galaxy II S running Android 4.0.4)
* Improve efficiency of internal API.

2.4 - June 25, 2012
2.4.0 - June 25, 2012
--------------------
* Charges are no longer supported.

Expand Down Expand Up @@ -203,13 +212,21 @@ Note that if your app is not targeting x86 or MIPS, you can safely leave out the

*************************

2.3.1
--------------------
* Skipped

2.3.0
--------------------
* Skipped

2.2.1 - April 20, 2012
--------------------
* Make CardType.getLogoBitmap() a public method.
* Repackage library jar to avoid proguard parsing problems in client apps.
* Fix string display bug in the charge screens.

2.2 - April 11, 2012
2.2.0 - April 11, 2012
--------------------

*************************
Expand All @@ -226,7 +243,7 @@ IMPORTANT: You should delete libs/armeabi*/libcardio.so from your project direct
--------------------
* Fix NullPointerException on manual entry press in scan only mode.

2.1 - April 4, 2012
2.1.0 - April 4, 2012
--------------------
* Made the charge screens more beautiful.
* Add support for JCB cards.
Expand Down Expand Up @@ -263,15 +280,15 @@ IMPORTANT: You should delete libs/armeabi*/libcardio.so from your project direct
* Add connection status messages to logs.
* Correctly report network type. Fixes problems associated with networks other than WiFi or mobile.

2.0 - January 18, 2012
2.0.0 - January 18, 2012
-------------------
* (new!) Support processing charges
* Rename package io.card.scan to io.card.payments
* Refactor scan interface. See https://card.io/resources/javadoc/index.html to see a complete list of deprecated methods & constants.
* Updated HTTPS library for better performance while scanning.
* Fixed crashes in Android 4.0/Ice Cream Sandwich.

1.0 - Wednesday, 8/24/2011
1.0.0 - Wednesday, 8/24/2011
-------------------
* First release

5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contribute to the card.io Android SDK

We love your contributions. If you're looking to submit changes to the sample app or documentation available within this repo, feel free to submit a PR.

If you are looking to make a change to the card.io source, please take a look at [the open source repo](https://github.com/card-io/card.io-Android-source).
File renamed without changes.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All releases follow [semantic versioning](http://semver.org/).
The latest version is available via `mavenCentral()`. Just add the following dependency:

```
compile 'io.card:android-sdk:5.3.0'
compile 'io.card:android-sdk:5.3.1'
```

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

```
compile 'io.card:android-sdk:5.3.0'
compile 'io.card:android-sdk:5.3.1'
```

##### If you use something other than gradle, then:
Expand Down Expand Up @@ -80,15 +80,6 @@ compile 'io.card:android-sdk:5.3.0'
<activity android:name="io.card.payment.DataEntryActivity" />
```

##### Note: Before you build in release mode, make sure to adjust your proguard configuration by adding the following to `proguard.cnf`:

```
-keep class io.card.**
-keepclassmembers class io.card.** {
*;
}
```
### Sample code (See the SampleApp for an example)

First, we'll assume that you're going to launch the scanner from a button,
Expand Down Expand Up @@ -153,8 +144,19 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
### Hints &amp; Tips

* [Javadocs](http://card-io.github.io/card.io-Android-SDK/) are provided in this repo for a complete reference.
* Note: the correct proguard file is automatically imported into your gradle project from the `aar` package. Anyone not using gradle will need to extract the proguard file and add it to their proguard config.
* card.io errors and warnings will be logged to the "card.io" tag.
* If upgrading the card.io SDK, first remove all card.io libraries so that you don't accidentally ship obsolete or unnecessary libraries. The bundled libraries may change.
* Processing images can be memory intensive.
* [Memory Analysis for Android Applications](http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html) provides some useful information about how to track and reduce your app's memory useage.
* card.io recommends the use of [SSL pinning](http://blog.thoughtcrime.org/authenticity-is-broken-in-ssl-but-your-app-ha) when transmitting sensitive information to protect against man-in-the-middle attacks.

Contributing
------------

Please read our [contributing guidelines](CONTRIBUTING.md) prior to submitting a Pull Request.

License
-------

Please refer to this repo's [license file](LICENSE.txt).
4 changes: 2 additions & 2 deletions SampleApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ android {

release {
minifyEnabled true
proguardFile file('proguard.cfg')
proguardFile getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.myConfig
}
}
Expand All @@ -52,7 +52,7 @@ dependencies {
if (parent != null) {
compile project(':card.io')
} else {
compile 'io.card:android-sdk:5.3.0'
compile 'io.card:android-sdk:5.3.1'
}
}

88 changes: 0 additions & 88 deletions SampleApp/proguard.cfg

This file was deleted.

Binary file renamed aars/card.io-5.3.0.aar → aars/card.io-5.3.1.aar
Binary file not shown.

0 comments on commit 03177e6

Please sign in to comment.