How to use an image other than the app icon in the splash screen for android
698
Solution 1
If you use the flutter launcher icons package, you can change the splash screen as well as the launcher icon of both android and ios.
Solution 2
This has already been answered, but as a suggestion I found a separate splash screen dependency to work well, available here
Author by
Darwish Al-Neyadi
Updated on December 06, 2022Comments
-
Darwish Al-Neyadi over 1 year
I just added a logo for my app icon in the mipmap folder for android and assets.xcassets folder for IOS and I used a different image for the drawable folder so i can show as the splash screen instead of a pixelated icon logo. however now the app icon is showing the splash screen image and the logo that i designed is not showing. any idea which folder represents the splash screen and which one is for the logo in android?
-
RLoniello over 5 yearsPossible duplicate of How to set a launch screen image in Xcode
-
Darwish Al-Neyadi over 5 years@RLoniello thank you, but I am focusing more on a solution for android.
-
-
Darwish Al-Neyadi over 5 yearsI used that package it produced the files needed however the app icon is the same image as the splashscreen which is the problem. here is the code for the icons if it helps:
flutter_icons: android: true ios: true image_path: "assets/icon/App_Icon.png" image_path_android: 'assets/icon/App_Icon_Circle.png' adaptive_icon_background: "#FFFAFAFA" adaptive_icon_foreground: "assets/SplashScreen_Image.png"
-
Coder over 5 yearsYou can use this this package to create the launcher icon and can probably override it using the splashscreen package if that is what you need.