Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3398807

Browse files
Update documentation for embedding SplashScreen
`io.flutter.app.android.SplashScreenUntilFirstFrame` was used in version 1 of the embedding.
1 parent ccaae8d commit 3398807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/android/io/flutter/embedding/android/FlutterActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@
186186
* windowBackground} as the launch theme discussed previously. To use that splash screen, include
187187
* the following metadata in AndroidManifest.xml for this {@code FlutterActivity}:
188188
*
189-
* <p>{@code <meta-data android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
190-
* android:value="true" /> }
189+
* <p>{@code <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable"
190+
* android:resource="@drawable/launch_background" /> }
191191
*
192192
* <p><strong>Alternative Activity</strong> {@link FlutterFragmentActivity} is also available, which
193193
* is similar to {@code FlutterActivity} but it extends {@code FragmentActivity}. You should use

0 commit comments

Comments
 (0)