Releases: braintree/android-card-form
Releases · braintree/android-card-form
3.0.4
3.0.3
3.0.2
- Update compile and target API versions to 25
- Update translations
- android-card-form is now available in 23 languages: ar, da, de, en, es, fr-rCA, fr, in, it, iw, ja, ko, nb, nl, pl, pt, ru, sv, th, tr, zh-rCN, zh-rHK, zh-rTW.
- Improve layout for right to left languages
- Fix text input for right to left languages
- Improve layout on small screens (fixes #16)
- Add Maestro card bin 6020 for card type detection
3.0.1
3.0.0
- Target API 24
- Add
SupportedCardTypesView
. - Highlight current card type in
SupportedCardTypesView
- Add option to disable card type hint in
CardEditText
- Switch to design support library for float labels instead of custom implementation (
CardForm
can only be used with anappcompat
theme) - Change CVV hint based on card type
- Update assets
- Add field icons
- Combine expiration and cvv on a single line when both present
- Refactor setting required fields into chainable methods
- Add country code field
- Add mobile number field
- Add CardType.EMPTY type
- Allow fields to be marked as optional to prevent validation and errors
2.3.2
2.3.1
2.3.0
2.2.0
- Add error animations
- Add vibration for errors if vibration permission is present
- Add
CardForm#setOnCardTypeChangedListener
- Rename
MonthYearEditText
toExpirationDateEditText
- Remove
CardUtils
class and move Luhn validation toCardType
class - Add custom dialog for entering expiration dates
- Enabled by default, can be disabled with
CardForm#useDialogForExpirationDateEntry(activity, false)
- Enabled by default, can be disabled with
- Update gradle build tools to 2.1.0
- Compress assets to reduce the library size by 27kb
- Fixes
- Prevent expiration field from auto advancing if invalid
- Fix maximum card length for unknown card types
- Allow multiple calls to
CardForm#setRequiredFields