Stripe Releases v1.1.0 of its Android SDK

Stripe has launched version 1.1.0 of its Android SDK. The update includes both new features and bug fixes. New features include threading control, the use of brand instead of type for cards, funding source for cards, and the addition of Javadoc for all major SDK classes. To access the latest features, users can download the updated Library at GitHub.

Threading control allows users to granularly control threading without the use of AsyncTasks. ReactiveX is commonly used by Android apps to utilize abstractions. To demonstrate the new feature, Stripe has presented an example of how to use the feature with RxJava. As fair warning, Stripe has explicitly warned against calling this method on the main thread (it will crash the app).

Many Stripe API libraries track a particular card's brand as opposed to type. Similarly, the Android SDK now tracks brand. No adjustments are necessary to use this feature as Stripe automatically mapped Card#getType() to Card#getBrand(). The change brings more consistency across the various SDKs and APIs offered by Stripe.

The SDK now includes the ability to return a card's funding source (i.e. credit, debit, or prepaid card). The feature is prompted when a card is tokenized. The feature was added so that developers can differentiate how various cards are treated by the app.

Finally, Stripe added Javadoc to SDK classes. This allows users to look up functions and parameters directly from an IDE. A list of the changes can be found at the changelog and the new SDK is available here. Stripe has added many features over time based purely on user feedback. It encourages developers to continue providing such feedback and expects to release new updates and features in the coming months. 

Be sure to read the next Payments article: PayPal Introduces Braintree JavaScript SDK v3