Skip to content

Blank WebView page if the application depends on androidx.activity:activity:1.12.0 or higherΒ #2418

@drymarau

Description

@drymarau

Describe the bug

Android System WebView renders a completely blank page for authentication, but elements are still selectable (buttons, input fields) if the project depends on androidx.activity:activity:1.12.0 or higher.

Smartphone (please complete the following information):

  • Device: Pixel 10 Pro XL
  • Android Version: Android 16
  • Browser: Android System WebView 142.0.7444.171
  • MSAL Version: 8.1.1

To Reproduce

Steps to reproduce the behavior:

  1. Call IPublicClientApplication.acquireToken with an Activity that extends ComponentActivity
  2. Wait for the WebView to show up

Expected behavior

Authentication web page is rendered correctly with all the elements visible

Actual Behavior

A blank page is rendered instead, but elements can be tapped (if lucky) or highlighted via TalkBack

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions