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

Control when splash screen ends #22043

Closed
danielchalmers opened this issue Apr 24, 2024 · 2 comments
Closed

Control when splash screen ends #22043

danielchalmers opened this issue Apr 24, 2024 · 2 comments

Comments

@danielchalmers
Copy link
Contributor

Description

As discussed in #10044 there is a need for greater control over the splash screen so you hide more work behind it.

Public API Changes

A way of telling MAUI that you want the splash screen to remain indefinitely and then a method to explicitly end the splash screen.
 

Intended Use-Case

I would use this in my Android app to hide the Blazor loading screen behind the device splash screen, so the user only sees one transition instead of two.

@jfversluis
Copy link
Member

I don't think this is a feasible or desirable thing to do. Especially on iOS the launch time cannot exceed around 20 seconds (I don't think official numbers have been published by Apple) else your app will just be killed. I can imagine Android has something along those lines as well. And even if you would stay within that limit, this is not great user experience if you ask me.

What I would do it make sure the splash screen passes quickly and then if needed add another screen in my app, which might very much look like a splash screen, do to the rest of the loading and/or initialization and continue from there. But ideally I'd think you would do that in the background or just in time whenever the user needs it.

Seems to me like this is something you should solve in different ways and not something we want to facilitate in a technical solution (anytime soon).

As such, not going to leave this lingering around and closing it for now.

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2024
@danielchalmers
Copy link
Contributor Author

@jfversluis It wouldn't get anywhere close to 20 seconds in the case of Blazor. We're stuck with the double loading screens when it should easily just be one.

@github-actions github-actions bot locked and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants