-
Notifications
You must be signed in to change notification settings - Fork 214
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
Splash Screen for Web
does not automatically removed
#536
Comments
This is true. However, what mechanism could this package use to automatically remove it? |
Good question. IDK. Can we do something like, add event listener using a js file to remove splash when |
I'm having this problem as well. When using VS Code's "run without debugging" (which I think simply runs "flutter run") it works fine in VS Code's "Chrome (web-javascript)" device. But since I needed to test deploying my app as a PWA and Chrome requires SSL/TLS to install one, I needed to use webdev (i.e. "webdev serve" command) which has SSL/TLS support. Now the splash screen is behaving as described above. |
Check my feature issue: #608 |
For me, it is only removing in desktop and android, not on iOS (tested on chrome and safari) |
Describe the bug
On
native
platforms, the splash screen is removed automatically by flutter/OS when the first frame isrendered
.But on
web
no such thing is available, hence when the app loads, the splash screen is not removed and only gets hidden behind main app.There is no implementation to remove the web splash screen automatically when the first frame is rendered and have to be manually removed using the following code:
Configuration
flutter_native_splash.yaml
Device (please complete the following information):
To Reproduce
Steps to reproduce the behavior, using the example app:
FlutterNativeSplash.remove();
Screenshots
Even after app is loaded
The text was updated successfully, but these errors were encountered: