Repository navigation
6.0.0-beta3
·
0 commits
to d83a7a025a4c01199a86e5a54fb890859c149c64
since this release
- Remove
iosBaseSDK,iosDeploymentTarget,iosIdentifierForVendor,deviceAppGeneratedPersistentUuid, anddeviceScreenOrientationfromBTAnalyticsMetadata - Fixes error
@objcMembers attribute used without importing module 'Foundation'in Xcode 14.3+ - Add async/await support back to all public Swift methods
- Convert
BraintreeVenmomodule to Swift - Convert
BraintreeCardmodule to Swift - Convert
BraintreeThreeDSecuremodule to Swift - Convert
BraintreePaymentFlowmodule to Swift - Breaking Changes
- BraintreePaymentFlow
- Replaced
SFSafariViewControllerwithASWebAuthenticationSession - Removed
BTViewControllerPresentingDelegateprotocol and correlating methods - Rename
BTLocalPaymentRequest.shippingAddressRequiredtoisShippingAddressRequired - Remove
BTPaymentFlowErrorDomainglobal constant &BTPaymentFlowErrorType - Add
BTPaymentFlowErrorcases.noAccountData= 4.failedToCreateNonce= 6.fetchConfigurationFailed= 7.missingRedirectURL= 8.missingReturnURL= 9
- Update
BTPaymentFlowErrorvalues.integration= 3
- Replaced
- BraintreeApplePay
- Rename
BTApplePayClient.tokenizeApplePay(_:completion:)toBTApplePayClient.tokenize(_:completion:) - Rename
BTApplePayClient.paymentRequest()toBTApplePayClient.makePaymentRequest() - Remove
BTApplePayErrorDomainglobal constant - Remove
BTApplePayErrorType - Make
BTApplePayCardNonceinitializer internal
- Rename
- BraintreeDataCollector
- Update PPRiskMagnes to static XCFramework
- BraintreeVenmo
- Rename
BTVenmoAccountNonce.externalIdtoBTVenmoAccountNonce.externalID - Remove
BTVenmoErrorDomainglobal constant - Renamed
BTVenmoClient.tokenizeVenmoAccount(with:completion:)toBTVenmoClient.tokenize(_:completion:) - Renamed
BTVenmoClient.isiOSAppAvailableForAppSwitch()toBTVenmoClient.isVenmoAppInstalled() - Add new
BTVenmoError.invalidBodyReturned.invalidRedirectURL.fetchConfigurationFailed
- Removed
BTVenmoError.integrationandBTVenmoError.requestURL
- Rename
- BraintreeAmericanExpress
- Rename
BTAmericanExpressClient.getRewardsBalance(forNonce:currencyIsoCode:completion:)toBTAmericanExpressClient.getRewardsBalance(forNonce:currencyISOCode:completion:)
- Rename
- BraintreeSEPADirectDebit
- Rename
BTSEPADirectDebitClient.tokenize(request:completion:)toBTSEPADirectDebitClient.tokenize(_:completion:)
- Rename
- BraintreeCard
- Make
BTAuthenticationInsightinitializer internal - Remove
BTCardClientErrorDomainglobal constant - Rename
BTCardClient.tokenizeCard(_:completion)toBTCardClient.tokenize(_:completion:) - Rename
BTCardClientErrorTypetoBTCardError- Remove unused
BTCardClientErrorType.paymentOptionNotEnabled - Update enum values:
.unknown= 0.integration= 1.customerInputInvalid= 2.cardAlreadyExists= 3
- Remove unused
- Make
- BraintreeThreeDSecure
- 3D Secure version 1 is no longer supported
- Removed the following:
BTThreeDSecureV1UICustomizationclass,BTThreeDSecureRequest.v1UICustomizationproperty, andBTThreeDSecureVersionenum- All 3D Secure requests will use version 2
- Rename
BTThreeDSecureV2ButtonTypeenum cases to:.verify,.continue,.next,.cancel, and.resend - Remove
BTThreeDSecureFlowErrorDomainglobal constant - Add new
BTThreeDSecureError- Add error
.noBodyReturned= 4 - Add error
.canceled= 5 - Add error
.invalidAPIClient= 6 - Add error
.cannotCastRequest= 7 - Add error
.jsonSerializationFailure= 8
- Add error
- Removed the following:
- 3D Secure version 1 is no longer supported
- BraintreePaymentFlow