-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Preventing NullReferenceException on WebAuthenticatorIntermediateActivity #13798
Copy link
Copy link
Closed
Closed
Copy link
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infofixed-in-8.0.0-preview.5.8529Look for this fix in 8.0.0-preview.5.8529!Look for this fix in 8.0.0-preview.5.8529!good first issueGood for newcomersGood for newcomersplatform/android
Milestone
Description
Description
We have a PR here to address an NRE inside the WebAuthenticatorIntermediateActivity.Android.cs but we have some concerns that the fix won't resolve the entire issue. It doesn't seem like the fix was validated against an actual repro. Upon reviewing the code, we feel like this is going to just move the exception down to the OnResume call.
We currently don't have a repro for this so once we're able to get validation that this fix worked on .NET 8 or a repro we can validate then we'll look into back porting.
Reproduction
These are from @vhugogarcia
https://github.com/vhugogarcia/MauiOAuthDemo
https://play.google.com/store/apps/details?id=com.mi.globalbrowser
This is the browser, I used on my Android simulator locally to reproduce the crash.
Steps:
- On an Android emulator with Google Play Services installed and Google Play Store configured, search for "Mi Browser" and install it.
- Open "Mi Browser" app and configure it as default browser in Android.
- Run the application on the Android device/simulator and try to login with the following attached demo credentials.
- Expect the crash to happen.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infofixed-in-8.0.0-preview.5.8529Look for this fix in 8.0.0-preview.5.8529!Look for this fix in 8.0.0-preview.5.8529!good first issueGood for newcomersGood for newcomersplatform/android
