Braintree v5.0.0-beta1 Release Notes
Release Date: 2020-12-01 // over 3 years ago-
- ➕ Add support for Swift Package Manager (resolves #462)
- ⬆️ Bump Kount to v4.0.4.2 (supports iOS 9.3+)
- 🗄 Replace deprecated
SecTrustEvaluate
withSecTrustEvaluateWithError
(fixes #536) - Only check if the Venmo app is installed if the BraintreeVenmo module is being used (resolves #231)
- 💥 Breaking Changes
- Bump minimum supported deployment target to iOS 12
- Remove deprecated
BraintreeUI
module - Remove all deprecated methods and properties
- Core
- Remove the
localizedDescription
property onBTPaymentMethodNonce
- Update all methods on
BTAppSwitchDelegate
to be optional - Remove
options
andsourceApplication
params onBTAppSwitch
methods - PaymentFlow
- Update dismiss button style from done to cancel for
SFSafariViewController
s presented via theBTPaymentFlowDriver
. This update applies to both the 3D Secure and Local Payments payment flows. - Remove the
localizedDescription
property onBTLocalPaymentResult
- Remove unused
BTPaymentFlowDriverErrorTypeInvalidRequestURL
option fromBTPaymentFlowDriverErrorDomain
- PayPal
- Remove PayPalOneTouch and PayPalUtils modules
- Remove
authorizeAccountWithCompletion
andauthorizeAccountWithAdditionalScopes
methods fromBTPayPalDriver
- Remove
requestOneTimePayment
andrequestBillingAgreement
overloads with customhandler
parameters fromBTPayPalDriver
- Remove
viewControllerPresentingDelegate
property fromBTPayPalDriver
- Remove use of
SFSafariViewController
from PayPal flow - Replace deprecated
SFAuthenticationSession
withASWebAuthenticationSession
in PayPal flow - Update
requestBillingAgreement
andrequestOneTimePayment
completion blocks to return an error when user cancels the PayPal flow - Remove custom URL scheme requirement for PayPal flow
- Update
BTPayPalDriverErrorType
enum- Remove
BTPayPalDriverErrorTypeIntegrationReturnURLScheme
- Remove
BTPayPalDriverErrorTypeAppSwitchFailed
- Remove
BTPayPalDriverErrorTypeInvalidConfiguration
- Remove
- ThreeDSecure
- Remove deprecated
Braintree3DSecure
module - Restructure
BTThreeDSecureResult
andBTThreeDSecureLookup
- Create a stand-alone 3DS module
- PayPalDataCollector
- Add
PPRiskMagnes.framework
andPPRiskMagnes.xcframework
v5.0.1 (requires Swift 5.1+) - Remove
collectPayPalDeviceInfoWithClientMetadataID
method onPayPalDataCollector.h