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

Commit 03177e6

Browse files
author
Jeff Brateman
committed
Update library to 5.3.1
1 parent 7ddac2b commit 03177e6

File tree

7 files changed

+42
-106
lines changed

7 files changed

+42
-106
lines changed

release_notes.md renamed to CHANGELOG.md

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

4+
5.3.1
5+
-----
6+
* 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).
7+
* 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).
8+
49
5.3.0
510
-----
611
* 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).
@@ -154,6 +159,10 @@ We are continuing to work to improve expiry-scanning accuracy.
154159
--------------------
155160
* Client side scanning!
156161

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

172-
2.4 - June 25, 2012
181+
2.4.0 - June 25, 2012
173182
--------------------
174183
* Charges are no longer supported.
175184

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

204213
*************************
205214

215+
2.3.1
216+
--------------------
217+
* Skipped
218+
219+
2.3.0
220+
--------------------
221+
* Skipped
222+
206223
2.2.1 - April 20, 2012
207224
--------------------
208225
* Make CardType.getLogoBitmap() a public method.
209226
* Repackage library jar to avoid proguard parsing problems in client apps.
210227
* Fix string display bug in the charge screens.
211228

212-
2.2 - April 11, 2012
229+
2.2.0 - April 11, 2012
213230
--------------------
214231

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

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

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

274-
1.0 - Wednesday, 8/24/2011
291+
1.0.0 - Wednesday, 8/24/2011
275292
-------------------
276293
* First release
277294

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Contribute to the card.io Android SDK
2+
3+
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.
4+
5+
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.

README.md

Lines changed: 13 additions & 11 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.3.0'
17+
compile 'io.card:android-sdk:5.3.1'
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.3.0'
49+
compile 'io.card:android-sdk:5.3.1'
5050
```
5151

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

83-
##### Note: Before you build in release mode, make sure to adjust your proguard configuration by adding the following to `proguard.cnf`:
84-
85-
```
86-
-keep class io.card.**
87-
-keepclassmembers class io.card.** {
88-
*;
89-
}
90-
```
91-
9283
### Sample code (See the SampleApp for an example)
9384

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

155146
* [Javadocs](http://card-io.github.io/card.io-Android-SDK/) are provided in this repo for a complete reference.
147+
* 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.
156148
* card.io errors and warnings will be logged to the "card.io" tag.
157149
* 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.
158150
* Processing images can be memory intensive.
159151
* [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.
160152
* 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.
153+
154+
Contributing
155+
------------
156+
157+
Please read our [contributing guidelines](CONTRIBUTING.md) prior to submitting a Pull Request.
158+
159+
License
160+
-------
161+
162+
Please refer to this repo's [license file](LICENSE.txt).

SampleApp/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ android {
3333

3434
release {
3535
minifyEnabled true
36-
proguardFile file('proguard.cfg')
36+
proguardFile getDefaultProguardFile('proguard-android.txt')
3737
signingConfig signingConfigs.myConfig
3838
}
3939
}
@@ -52,7 +52,7 @@ dependencies {
5252
if (parent != null) {
5353
compile project(':card.io')
5454
} else {
55-
compile 'io.card:android-sdk:5.3.0'
55+
compile 'io.card:android-sdk:5.3.1'
5656
}
5757
}
5858

SampleApp/proguard.cfg

Lines changed: 0 additions & 88 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)