Skip to content

Releases: braintree/android-card-form

3.0.4

17 Mar 17:20
Compare
Choose a tag to compare
  • Fix error in visual layout editor (fixes #24)
  • Increase minSdkVersion to 16
  • Increase card.io minimum version to 5.5.0
  • Update ExpirationDateDialog maximum expiration years (fixes #25)

3.0.3

04 Jan 20:14
Compare
Choose a tag to compare
  • Allow overriding of form icons (Fixes #22)
  • Fix a bug where ExpirationDateDialog was not shown in certain devices

3.0.2

03 Nov 16:04
Compare
Choose a tag to compare
  • 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

14 Oct 14:47
Compare
Choose a tag to compare
  • Fix crash on API 15 and 16 (Fixes #14)

3.0.0

30 Sep 14:40
Compare
Choose a tag to compare
  • 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 an appcompat 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

09 Sep 15:17
Compare
Choose a tag to compare
  • Add support for MasterCard 2 series bin range
  • Include library proguard file to prevent ProGuard exceptions (fixes #11)
  • Add additional bin ranges for Maestro cards

2.3.1

13 Jun 17:30
Compare
Choose a tag to compare
  • Prevent CardForm#setRequiredFields from reseting ExpirationDateDialog use and invalidating the expiration field

2.3.0

07 Jun 18:23
Compare
Choose a tag to compare
  • Add optional support for card.io (fixes #5)
  • Fix Activity leak in ExpirationDateDialogTheme
  • Fix inconsistent state when calling CardForm#setRequiredFields multiple times

2.2.0

31 May 19:15
Compare
Choose a tag to compare
  • Add error animations
  • Add vibration for errors if vibration permission is present
  • Add CardForm#setOnCardTypeChangedListener
  • Rename MonthYearEditText to ExpirationDateEditText
  • Remove CardUtils class and move Luhn validation to CardType class
  • Add custom dialog for entering expiration dates
    • Enabled by default, can be disabled with CardForm#useDialogForExpirationDateEntry(activity, false)
  • 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

2.1.1

17 Dec 20:38
Compare
Choose a tag to compare
  • Fixes
    • Fix 4 digit year validation bug. Fixes #3
    • Return invalid for years too far into the future. Fixes #3