Releases: braintree/braintree_ios
Releases · braintree/braintree_ios
6.39.0
- BraintreeCore
- Fix crash related to data race in
BTWebAuthenticationSession
(fixes #1653)
- Fix crash related to data race in
- BraintreePayPal
- Add
recurringBillingDetails
,recurringBillingPlanType
, andamountBreakdown
properties toBTPayPalCheckoutRequest
. Enables RBA metadata to be passed for the PayPal Checkout Vault with Purchase flow - Add
userAction
property toBTPayPalVaultRequest
- Add
paypal:tokenize:default-browser-switch:started
event for when the appSwitch fails for universalLink andopenURLInDefaultBrowser
is triggered. - Add
paypal:tokenize:default-browser-switch:succeeded
andpaypal:tokenize:default-browser-switch:failed
events for when the browser switch succeeds or fails.
- Add
6.38.0
- BraintreeShopperInsights (BETA)
- Add
createCustomerSession(request:)
toBTShopperInsightsClientV2
- Add
updateCustomerSession(request:sessionID:)
toBTShopperInsightsClientV2
- Add
generateCustomerRecommendations(request:sessionID:)
toBTShopperInsightsClientV2
- Add
BTPageType.paymentMethodSelection
andBTPageType.paymentMethodAddition
- Add
- BraintreePayPal
- Send
application_state
to FPTI for tracking UIApplication state
- Send
6.37.0
- BraintreePayPal
- Fix an issue where
BTPayPalRequest
was sendingphone_number
instead ofpayer_phone
- Add
merchant
andflow_type
as query parameters to the app switch URL. - Add
paymentID
toBTPayPalAccountNonce
- Fix an issue where
6.36.0
- BraintreeCore
- Analytics updates for PayPal's analytics service (FPTI)
- Add
space_key
andproduct_name
tobatch_params
- Add
context_type
toevent_params
- Rename
paypal_context_id
tocontext_id
- Add
- Analytics updates for PayPal's analytics service (FPTI)
7.0.0-beta2
- BraintreeCore
- Improve latency for analytic events.
6.35.0
- BraintreePayPal
- Bug fix:
BTPayPalRequest.userPhoneNumber
could be passed as an empty string resulting in an error - Bug fix: Ensure that
ASWebAuthenticationSession.start
is only called with one URL at a time by blocking additional start calls until the current one completes. - Bug fix: Pass
unitTaxAmount
as expected inBTPayPalLineItem
- Make
BTPayPalLineItem
parameters settable - Bug fix: only attempt to call
UIApplication.shared.open
on one URL at a time blocking otheropen
calls until the current one is finished - Bug fix: Ensure that the
browserLoginAlertCanceled
event is not fired off when theASWebAutheniticationSession
popup is disabled. - Add
paypal:tokenize:browser-presentation:started
event for when theASWebAuthenticationSession.start
is launched. - Update
url
FPTI tag to represent the approval URL prior to checkout and the success URL after checkout.
- Bug fix:
6.34.0
- BraintreePayPal
- Set the
prefersEphemeralWebBrowserSession
flag based on query parameterexperiment
to enable/disable the WAS popup.
- Set the
6.33.0
- BraintreeCore
- Update batching for conversion events to send immediately using
beginBackgroundTask
- Update batching for conversion events to send immediately using
7.0.0-beta1
- Require Xcode 16.2+ and Swift 5.10+
- Breaking Changes
- Bump minimum supported deployment target to iOS 16+
countryCodeAlpha2
now returns a 2 character country code instead of a 3 character country code- BraintreePayPalNativeCheckout
- Remove entire PayPal Native Checkout module
- BraintreeVenmo
- Update
BTVenmoRequest
to make all properties accessible on the initializer only vs via the dot syntax. - Remove
fallbacktoWeb
property fromBTVenmoRequest
. All Venmo flows will now use universal links to switch to the Venmo app or fallback to the web flow if the Venmo app is not installed - Remove
BTAppContextSwitcher.sharedInstance.returnURLScheme
BTVenmoClient
initializer now requires auniversalLink
for switching to and from the Venmo app or web fallback flow- Update initializer to
BTVenmoClient(authorization:)
- Update
- BraintreeSEPADirectDebit
- Update
BTSEPADirectDebitRequest
to make all properties accessible on the initializer only vs via the dot syntax. - Update initializer to
BTSEPADirectDebitClient(authorization:)
- Update
- BraintreeLocalPayment
- Update
BTLocalPaymentRequest
to make all properties accessible on the initializer only vs via the dot syntax. - Update initializer to
BTLocalPaymentClient(authorization:)
- Update
- BraintreeCard
- Update
BTCard
to make all properties accessible on the initializer only vs via the dot syntax. - Remove
BTCardRequest
, useBTCard
directly instead - Update initializer to
BTCardClient(authorization:)
- Update
- BraintreePayPal
- Update
BTPayPalRequest
,BTPayPalVaultRequest
andBTPayPalCheckoutRequest
to make all properties accessible on the initializer only vs via the dot syntax. - Update PayPal app URL query scheme from
paypal-app-switch-checkout
topaypal
- Update initializer to
BTPayPalClient(authorization:)
- Update
- BraintreeThreeDSecure
- Update
BTThreeDSecureRequest
to make all properties accessible on the initializer only vs via the dot syntax. - Update
BTThreeDSecureRequest.amount
to be aString
- Remove
cardAddChallenge
- usecardAddChallengeRequested
instead - Update initializer to
BTThreeDSecureClient(authorization:)
- Update
- BraintreeCore
- Remove
fetchPaymentMethodNonces
methods and parser
- Remove
- BraintreeAmericanExpress
- Update initializer to
BTAmericanExpressClient(authorization:)
- Update initializer to
- BraintreeApplePay
- Update initializer to
BTApplePayClient(authorization:)
- Update initializer to
- BraintreeDataCollector
- Update initializer to
BTDataCollector(authorization:)
- Update initializer to
- BraintreeShopperInsights (BETA)
- Update initializer to
BTShopperInsightsClient(authorization:shopperSessionID:)
- Update initializer to
- BraintreePayPalMessaging (BETA)
- Update initializer to
BTPayPalMessagingView(authorization:)
- Update initializer to
6.32.0
- BraintreePayPal
- Bug fix: remove internal code signing from framework
- Make
userAuthenticationEmail
property optional for all App Switch flows
- BraintreeThreeDSecure
- Bug fix: remove internal code signing from framework