Android SDK updates
Michael McDuffee on December 5, 2016
We just launched version 1.1.0 of our Android SDK, which fixes a few bugs and adds some new features:
NewThreading control
Based on your feedback, we’ve added the option to granularly control threading in your app without having to use AsyncTasks
. Many modern Android apps take advantage of the abstractions afforded by ReactiveX, so we’ve included an example on how to do it with RxJava.
Updatebrand
instead of type
for cards
Like the other Stripe Client libraries, we now keep track of a card’s brand
instead of its type
in the Android SDK as well. There’s no change required—we’ve automatically mapped Card#getType()
to Card#getBrand()
.
NewLook up a card’s funding source
When you tokenize a card, the SDK will now return whether it’s a credit, debit, or prepaid card in case you want to handle these card types differently in your app.
NewJavadoc
We’ve added Javadoc to all of the major classes in the SDK so that you can look up functions and parameters right from your favorite IDE:

To start using these features, just download the latest library or update the inclusion line in your gradle dependencies. (We’ve also updated our example app to take advantage of these new features.)
We’ll be adding many more features to our Android SDK over the next few months—if you have questions or feedback, please let me know!