Skip to content

Releases: braintree/braintree_android

5.21.0

05 Jan 19:58

Choose a tag to compare

  • UIComponents
    • Add PayPalButton class to generate a PayPal-branded button for launching PayPal flow
    • Add VenmoButton class to generate a Venmo-branded button for launching Venmo flow

5.20.0

17 Dec 21:33

Choose a tag to compare

  • All Modules
    • Fallback to using deep links when the user's default browser does not support app links.
      • Known limitation: Flow doesn't work on UC and Opera GX browsers for both app links and deep links. See #1473
        for testing note.
  • PayPal
    • Update PayPalLauncher constructor to support ActivityResultCaller parameter for Browser Switch with AuthTab integration
    • Add restorePendingRequest method to restore browser state after app switch
  • LocalPayment
    • Update LocalPaymentLauncher constructor to support ActivityResultCaller parameter for Browser Switch with AuthTab integration
    • Add restorePendingRequest method to restore browser state after app switch
  • SEPADirectDebit
    • Update SEPADirectDebitLauncher constructor to support ActivityResultCaller parameter for Browser Switch with AuthTab integration
    • Add restorePendingRequest method to restore browser state after app switch
  • Venmo
    • Update VenmoLauncher constructor to support ActivityResultCaller parameter for Browser Switch with AuthTab integration
    • Add restorePendingRequest method to restore browser state after app switch
  • BraintreeCore
    • Update Browser Switch version to 3.4.0
    • Update Android Gradle Plugin version to 8.9.1
    • Update compileSdkVersion and targetSdkVersion to 36

5.19.0

18 Nov 18:16

Choose a tag to compare

  • Card
    • Fix an issue where a tokenize card errors are masked with a JSON parsing error
  • PayPal
    • Add shouldOfferCreditproperty to PayPalCheckoutRequest. Enables merchants to offer PayPal Credit for Checkout requests.

5.18.0

01 Oct 19:01

Choose a tag to compare

  • PayPal
    • Add recurringBillingDetails, recurringBillingPlanType, and amountBreakdown properties to PayPalCheckoutRequest. Enables RBA metadata to be passed for the PayPal Checkout Vault with Purchase flow
    • Add userAction property to PayPalVaultRequest
    • Add ResolvePayPalUseCase that checks if the PayPal app will resolve the app-switch URL before enabling or attempting app switch.
    • App switch will be enabled only if ResolvePayPalUseCase returns true in addition to the existing checks in PayPalInternalClient.
    • App launch will be attempted only if ResolvePayPalUseCase returns true in addition to the existing checks in PayPalLauncher.
  • BraintreeCore
    • Add OkHttp version 4.12.0
    • Add FPTI tag paypal_app_switch_url_receivedfor when the SDK has received an app switch URL from the Paypal APIs.
    • Existing FPTI tag attempted_app_switch will be sent after verifying the Paypal app can resolve the URL.
  • PayPal Messaging
    • bump version to 1.1.13

5.17.0

09 Sep 16:53

Choose a tag to compare

  • ShopperInsights (BETA)
    • Add PageType.PAYMENT_METHOD_SELECTION and PageType.PAYMENT_METHOD_ADDITION
    • Add createCustomerSession public method to ShopperInsightsClientV2
    • Add updateCustomerSession public method to ShopperInsightsClientV2
    • Add generateCustomerRecommendations method to ShopperInsightsClientV2

5.16.0

26 Aug 21:52

Choose a tag to compare

  • PayPal
    • Fix an issue where PayPalRequest was sending phone_number instead of payer_phone
    • Add merchant and flow_type as query parameters to the app switch URL.
    • Add paymentId to PayPalAccountNonce
  • GooglePay
    • Add softwareInfo details to the merchantInfo field in the loadPaymentData request.

5.15.0

13 Aug 21:56

Choose a tag to compare

  • Venmo
    • Fixed bug in VenmoClient where deepLinkFallbackUrlScheme was not being set correctly in deprecated constructor
  • All Modules
    • Analytics updates for PayPal's analytics service (FPTI)
      • Add space_key and product_name to batch_params
      • Rename paypal_context_id to context_id
      • Add context_type to event_params

5.14.0

23 Jul 20:13

Choose a tag to compare

  • PayPal
    • Fix an issue where multiple Chrome Custom Tabs can be opened
    • Fix an issue where the incorrect paypalContextId was being sent in analytics events
    • Add paypal:tokenize:browser-presentation:started event for when the CCT is launched
    • Only send paypal:tokenize:browser-login:canceled for non app switch flows
    • Fix an issue where non app switch flows were sending app switch events
    • Update url FPTI tag to represent the approval URL prior to checkout and the success URL after checkout
  • LocalPayment
    • Fix an issue where multiple Chrome Custom Tabs can be opened
  • BraintreeCore
    • Bump browser-switch version to 3.1.0

5.13.0

24 Jun 20:09

Choose a tag to compare

  • All Modules
    • Prefetching the configuration on BraintreeClient init to reduce the user perceived latency
  • PayPal Messaging
    • Bump paypal-messages to version 1.0.4

5.12.0

16 Jun 20:04

Choose a tag to compare

  • PayPal
    • Reduce configuration calls for PayPal flow
    • Move App Switch events to the PayPalLauncher class
    • Add browser-presentation:succeeded and browser-presentation:failed events for the non App Switch flow