-
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
[web] 2.3.6 splash not being removed #622
Comments
i had to add in main function to make it work but in 2.3.5 i didnt have to do it
and on app hot restart i get this
but this hides my loading indicator mentioned here #619 a workaround i did was set, dont know if that the correct way
|
Hello! I am already working on fixing this... |
I have the solution, I will create a pull request for it tonight. |
if in need of any help let me know, since i was going to provide a fix for the hot restart problem, after i finish work too my idea is to update
to not remove the function removeSplashFromWeb and just update it to check if elements exists it should delete it if not it should do nothing by chatgpt (not tested yet)
|
Great, I look forward to it, thanks! |
btw i just tested
and having main function as
fixed the hot reload incase if @jonbhanson dont want to introduce the new function |
I think the best way to resolve this is to roll back the change, and then release it as a breaking change in a major version. I will push out an update shortly. Thanks for your help on this @zezo357 and @eggp. |
Hello @jonbhanson! In this case, it would be good to find a solution for the splash to be removed automatically. Unfortunately, I don't have enough knowledge in Flutter yet, and so far, I haven't found a solution to detect the first render. |
Describe the bug
when creating native splash screen for web using version 2.3.6 it doesnt get removed when app loads
but on 2.3.5 it does get removed
Configuration
Device (please complete the following information):
To Reproduce
Steps to reproduce the behavior, using the example app:
dart run flutter_native_splash:create
using version 2.3.6 and 2.3.5Screenshots
If applicable, add screenshots to help explain your problem. If in doubt, attach a screenshot.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: