-
Notifications
You must be signed in to change notification settings - Fork 218
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
Android new splash screen deprecation warning #199
Comments
I believe this indicates that from now on, Flutter handles showing the native screen UNTIL all dart/flutter stuff has been initialized rendering the "in between" splash screen useless for Android… |
I see this message too |
This message is not related to this package, but is related to a change in how Flutter handles splash screens in Flutter 2.5, as mentioned by @benjaminhorner . It is caused by having the following code in your <!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/> The solution is to remove the above code. |
I think this issue can be closed as the solution posted by @jonbhanson solves it. Also, as noted, this is not related to this package. |
Since flutter 2.5.0 this new warning appears on the console:
A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
I don't if it's related to the way the package implements the splash screen or not
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 2.5.0-7.0.pre.156, on Microsoft Windows [versão 10.0.19043.1165], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.2)
[√] VS Code (version 1.59.0)
[√] Connected device (3 available)
• No issues found!
The text was updated successfully, but these errors were encountered: