- Updated expiring pinned vendor SSL certificates
- Require
braintree_ios
5.26.0
- Add the reason for PaymentInfo Collection in
PrivacyInfo.xcprivacy
- Remove deprecated
UIGraphicsBeginImageContextWithOptions
API usage (fixes #446)
- Require Xcode 15.0+ and Swift 5.9+ (per App Store requirements)
- Meets Apple's new Privacy Update requirements
- Require
braintree_ios
5.25.0
- Add Slovak language support
- Fix bug where setting global navigation bar overrides the payment selection screen (fixes #435)
- Allow overriding navigation bar color and text via
BTDropInUICustomization.barBackgroundColor
andBTDropInUICustomization.primaryTextColor
- Require
braintree_ios
5.23.0 - Update to use macros to avoid compile time errors (fixes #421)
- Require Xcode 14.1+ and Swift 5.7.1+ (per App Store requirements)
- Add California Privacy Laws notice of collection to credit card form
- Fix bug where presenting the Drop-in from a modal screen without a
modalPresentationStyle
does not display the status bar when both device and Drop-in are in light mode (fixes #419) - Add
BTDropInRequest.cardLogosDisabled
to hide card logos on the credit card form if desired
- Silence UnionPay related deprecation warnings introduced in
braintree_ios
5.21.0 and higher.
- Fixes bug where title color on
BTPaymentSelectionViewController
is set as the defaultprimaryColor
for theBTDropInUICustomization(colorScheme:)
(fixes #397)
- Add explicit error handling for case when
BTDropInResult.mostRecentPaymentMethod(for:)
method fails to fetch any recent payment methods.- Add
BTDropInErrorTypeNoRecentPaymentMethods
error code.
- Add
- Silence UnionPay related deprecation warnings introduced in
braintree_ios
5.18.0 and higher.- Note: The UnionPay SMS flow will be removed in BraintreeDropIn v10. UnionPay cards can now be processed as regular cards due to their partnership with Discover.
- Require
braintree_ios
5.19.0 or higher
- Remove use of deprecated
setNetworkActivityIndicatorVisible
on iOS 13+ (the network activity indicator was removed from the status bar in iOS 13) (fixes #379) - Add support for iOS 16 and Xcode 14
- Require
braintree_ios
5.12.0 or higher
- Require
- Fix bug where
deviceData
onBTDropInResult
was always returned asnil
- Require
braintree_ios
5.9.0 or higher - Update device data collection for environment based on configuration
- Update Visa logo per updated brand guidelines
- Update Vault Manager inline documentation
- Update import statement for transitive dependancies in react native (fixes #365)
- Require
braintree_ios
5.8.0 or higher
- Require
braintree_ios
5.6.1 or higher - Add specific error message for duplicate payment method
- iOS 15 - Fix bug where payment method icon border was missing after card flow cancellation
- Require
braintree_ios
5.5.0 or higher- Adds support for Apple Silicion development / arm64 simulators
- iOS 15 Support
- Update
scrollEdgeAppearance
based on iOS 15 changes
- Update
- Add
deviceData
toBTDropInResult
- Require
braintree_ios
5.4.3 or higher (includes Xcode 13-beta3 fixes) - Swift Package Manager
- Adds
NS_EXTENSION_UNAVAILABLE
annotations to methods unavailable for use in app extensions (fixes #343 for Xcode 13-beta3)
- Adds
- Increase valid Discover card length to 19 digits
- iOS 15 Support
- Update
scrollEdgeAppearance
based on iOS 15 changes
- Update
- Require
braintree_ios
v5.4.2 or higher- Includes SPM binary dependency bug fix which requires Xcode 12.5+
- Require
braintree_ios
v5.3.2 or higher (edited: through v5.4.1) - PayPal
- Fix bug where an error was returned if the user canceled the PayPal flow, instead of remaining on the payment selection sheet
- VoiceOver improvements
- Add localized helper text for image of available card types on card entry form
- Swift Package Manager
- Fix issue with mixed SPM/CocoaPods projects (fixes #325)
- Accessibility
- VoiceOver improvements
- Fix color contrast ratios
- Increase hit area for several buttons
- Card form
- Fix iOS 13 UI bug where "Next" button overlapped with card number text field
- Add validation to cardholder name field to prevent users from accidentally inputting credit card numbers
- Payment selection sheet
- Fix bug where vaulted payment methods were shown even when the payment method was disabled on
BTDropInRequest
(fixes #179) - Fix bug where top of payment selection sheet was cut off on smaller phones using larger fonts
- Fix bug where vaulted payment methods were shown even when the payment method was disabled on
- Breaking changes
- Localization
- Rename
BTUIKLocalizedString
toBTDropInLocalization
- Remove
insertIntoLocalizedString
methods - Remove translation string static helper methods
- Rename
- Venmo
- Add
venmoRequest
toBTDropInRequest
- Remove
vaultVenmo
property fromBTDropInRequest
(usevenmoRequest.vault
instead)
- Add
- 3D Secure
- Remove
threeDSecureVerification
fromBTDropInRequest
; 3DS will always be requested ifthreeDSecure
request is not nil
- Remove
- BTDropInResult
- Rename
BTDropInResult.fetch
toBTDropInResult.mostRecentPaymentMethod
- Fix bug where fetching most recent payment methods would return an empty
BTDropInResult
instead ofnil
when the customer doesn't have any vaulted payment methods - Rename
BTUIKPaymentOptionType
enum toBTDropInPaymentMethodType
- Remove the
.coinbase
enum case
- Remove the
- Rename
paymentOptionType
property topaymentMethodType
- Rename
- Apple Pay
- Always show Apple Pay payment method option if device is capable of Apple Pay (fixes #232)
- Localization
Note: Includes all changes in 9.0.0-beta1.
- Add support for Swift Package Manager (resolves #155)
- Breaking changes
- Bump minimum supported deployment target to iOS 12.0
- Require Braintree ~> 5.3.0
- BraintreeApplePay, BraintreeVenmo and BraintreeUnionPay are now required dependencies
- Make headers private:
BTCardFormViewController
BTDropInBaseViewController
BTPaymentSelectionViewController
BTVaultManagementViewController
- Add
BTDropInUICustomization
, which replacesBTUIKAppearance
for customizing UI - Enable Dynamic Type by default. This can be disabled with the
disableDynamicType
property onBTDropInUICustomization
. - Show last four digits of vaulted cards, instead of "••• ••11", which truncates in larger fonts.
- Remove support for Turkish localization
- Remove
BraintreeUIKit
framework - Use number pad for expiration date input on card form
- Require two-digit year for expiration date instead of four-digit year
- Remove Carthage support
- Change spelling of
isCancelled
property onBTDropInResult
toisCanceled
- Cards
- Fix crash on slow network connections (fixes #243)
- Fix localizations for Carthage integrations (fixes #272)
- Exclude arm64 simulator architectures via Podspec (fixes #233)
- Show activity indicator on payment method selection screen at the beginning of PayPal, Venmo and 3DS flows (resolves #177)
- Update constraints for SwiftUI support (resolves #202)
- Add
vaultVenmo
flag toBTDropInRequest
- Require Braintree ~> 4.32
- Fix UIKit deprecation warnings:
- UIApplication's
statusBarOrientation
andstatusBarFrame
properties - UIViewController's
topLayoutGuide
andbottomLayoutGuide
properties
- UIApplication's
- Remove deprecated methods and properties
- BTDropInBaseViewController showLoadingScreen:animated: method
- BTDropInRequest amount property
- BTUIKAppearance darkTheme and lightTheme methods
- Remove support for CardIO, a no longer maintained framework.
- Change postal code default keyboard type to
UIKeyboardTypeDefault
. - Update podspec to require versions
~> 4.31
of Braintree SDK dependencies.
- Require Braintree ~> 4.30
- Add support for iOS 13 Dark Mode
- Add
colorScheme
property toBTUIKAppearance
, with support for light, dark and dynamic color schemes - Deprecate
lightTheme
anddarkTheme
- Add
- Deprecate
amount
property onBTDropInRequest
- Show activity indicator when 3D Secure flow is triggered for a vaulted payment method
- UI changes to support iOS 13
- Demo app maintenance
- Remove unneeded pre-processor directives
- Support for 3DS 2 verification
- Add ability for merchant and/or customer to opt in/out of client side vaulting (card).
- Add Hiper and Hipercard support
- Add support for setting a BTPayPalRequest on the BTDropInRequest
- Set calendar type as Gregorian and syntax for pointers
- Added support for Maestro 56-59 card prefixes
- Added the option to accept or require a cardholder name when entering credit card information
- Luhn validate UnionPay cards
- Check for ApplePay capability before displaying it as a payment method (Thanks @Nonepse)
- Increase the payment selection title labels resistance priority to prevent compression on iOS 12
- Improve detection of Maestro card numbers
- Require Braintree ~> 4.17.0
- Ensures GraphQL is available for
vaultManager
- Ensures GraphQL is available for
- Add
cardDisabled
option - Fix issue where Carthage integrations were failing
- Add
vaultManager
option- Allows for the deletion of vaulted payment methods
- Alpha-numeric keyboard will dismiss when Done button is pressed
- Add support for custom translations
- Add card validation error alert when validation fails
- Fix transition animation issues with main Drop-in view
- Add support to mask security code text field
- Fix issue that caused supported card types to be displayed more than once
- UI fixes and improved iPhone X support. Thanks @shpuntov
- Fix code for implicit retain self warning
- Fix empty payment method nonce and error in result for PayPal and Venmo flows
- Update 3DS integration to support browser switch
- Drop-in will now return a
BTCardNonce
instead of aBTThreeDSecureNonce
- The 3DS info can be access via the
threeDSecureInfo
property on aBTCardNonce
- Drop-in will now return a
- Add support for manually disabling PayPal and Venmo in Drop-in
- Fix issue that caused errors to not be returned in the Venmo and PayPal flows
- Update translation for scanning a card number with the camera
- Improve iOS 11 and iPhone X support
- Update MasterCard and Maestro logos
- Xcode9 updates
- Update Apple Pay mark
- Update Demo to support Xcode9 (Beta 4)
- Fix UI issues associated with iOS11
- Update Demo to support Xcode9 (Beta 1) and iOS11
- Use
OverCurrentContext
for the card form modal when not an iPad device - Update README to clarify Apple Pay integration
- Forward UINavigationBarTintColor to Card.io
- Improve card BIN matching and added missing Maestro BIN
- Fix 3DS support (Thanks @meismyles)
- UI bug fixes
- Improved accessibility and localization support
- Added ability to set navigationBarTitleTextColor in BTUIKAppearance
- Add support for card.io
- Remove beta warning
- Fix inclusion of non-modular header inside framework module error in BTPaymentSelectionViewController. Thanks @steveholt55
- Minor UI improvements
- Add access visual assets
- Update localizations
- Bumped major version number to distinguish BraintreeDropIn from Braintree
- Update README for Swift 3
- Minor bug fixes
- Moved BraintreeUIKit and BraintreeDropIn to a separate repository to allow cleaner separation and iteration for Drop-in