Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Android 15 Edge-to-Edge #482

Open
ersen-lw opened this issue Jul 30, 2024 · 2 comments
Open

Support Android 15 Edge-to-Edge #482

ersen-lw opened this issue Jul 30, 2024 · 2 comments

Comments

@ersen-lw
Copy link

ersen-lw commented Jul 30, 2024

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.

@sshropshire
Copy link
Contributor

Hi @ersen-lw thanks for filing this a while back. I'm taking a look now. We should have an update soon.

@ersen-lw
Copy link
Author

Thanks @sshropshire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants