Skip to content

Android 12: splash screen is no longer displayed while the app loads #6517

@mfeingol

Description

@mfeingol

Steps to Reproduce

  1. Run the official SplashScreen sample
  2. Remove the artificial delay added by the sample before running the main activity
  3. Observe that on Android 11 the splash screen is display from the moment the app runs, whereas on Android 12 it is only displayed for a split second just before the main page is rendered.

This may be an OS change and not a Xamarin problem, but it still struck me as a rather odd user experience and I wanted to make sure it wasn't something in Xamarin itself (e.g. maybe Xamarin needs to change to use the new SplashScreen APIs?)

SplashScreen.zip

Expected Behavior

Splash screen displayed during app boot-up, as on Android 11 and lower.

Actual Behavior

On Android 12 the splash screen is only displayed for a brief time, if at all.

Version Information

VS 2022

Metadata

Metadata

Assignees

Labels

Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions