braintree-android-drop-in icon indicating copy to clipboard operation
braintree-android-drop-in copied to clipboard

Support Android 15 Edge-to-Edge

Open ersen-lw opened this issue 7 months ago • 2 comments

Braintree SDK Version

6.16.0

Environment

Sandbox

Android Version & Device

(Emulator) Pixel 8 Android 15 (API 35)

Braintree dependencies

Using TOML


braintreeDropInUi = "6.16.0"

braintree-dropin-ui = { group = "com.braintreepayments.api", name = "drop-in", version.ref = "braintreeDropInUi" }

Describe the bug

When an application targets Android 15 (API 35), the app renders in edge-to-edge mode, drawing behind system bars. This applies to libraries that display UI like Braintree.

Upon targeting API 35, many Braintree and Cardinal SDK (3DS) are not supporting edge-to-edge which causes certain content to be hidden by system UI.

Pasted Graphic

The Google Pay option is not clickable

Pasted Graphic 1

Top toolbar content is obscured by the status bar

SECURE CHECK

Top toolbar content is obscured by the status bar

To reproduce

  1. Target Android 15 (API 35)
  2. Display Braintree Drop-in
  3. See content is obscured by system UI

This can be reproduce by making the demo target Android 15

Expected behavior

The content is not obscured by system UI.

Screenshots

Added screenshots above. These are from the demo project from this repo.

ersen-lw avatar Jul 30 '24 16:07 ersen-lw