-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
App icon flashes before boot_splash on Android #95131
Comments
What does your app icon look like before launching it? I believe the pre-launch icon is based on Android design assets; it is not drawn by Godot itself. This means that you need to configure your project to use assets you created for this purpose in the Android export preset in the Export dialog. Godot can generate those assets for you if you leave the field empty, but you'll still need to define an icon at the very least. |
I am not sure i understand what you mean, if you could explain. For your question the icon of the app is the godot icon svg. when launching the app, the expected result is to see the boot splash color (which the video example i set it to pink) but instead the app shows before the boot splash the icon of the app in the middle and this behaviour cannot be changed in godot project settings. If i open other apps on my phone they do not show their icon on launch |
How did you configure Icon?
My Samsung Tab S7 (Android 13) shows the app icon in the splash screen first. (always, also Example: https://github.com/godotengine/godot-demo-projects/tree/master/2d/bullet_shower
I think this settings (Android Export) |
Thanks for the suggestion, I tried setting the main icon to 192x192 in the android export settings, but the issue still remains. I still see the default icon briefly before the splash screen appears.
All were the same project settings and same export settings |
maybe PR #92965 or/and |
Both godot 4.2.2 and godot 4.3 that i tested on the same project used the same export settings and project settings. Godot 4.3 did reproduce the issue and godot 4.2.2 didn't reproduce the issue |
AFAIK the fact that an icon is shown when starting the app is intended behavior from Android itself. Apps built against recent SDKs behave this way, while some (possibly older) apps don't. Now regarding why it's the default Godot icon, did you change the main project icon in the project settings? In my tests my custom icon.svg would be shown on Android just fine. CC @m4gr3d |
Thanks for the reply, i know how to change the app icon and it wasn't part of the issue. The issue was opened due to what you said that the app icon shows before the display splash is due to the new sdk, do you think is it possible somehow to remove it or is it the new standard of android? |
@EiTaNBaRiBoA In your MRP https://docs.godotengine.org/en/latest/tutorials/export/android_gradle_build.html I haven't tried it yet, but it should be possible if you customize files. You should be familiar with Android development. |
@EiTaNBaRiBoA It's the new Android standard.
|
Is it possible to disable the display of the app icon? when open the app or game, the app icon will be displayed first, then a gray drop-down animation will appear, then the boot splash appears, and finally the app will be entered, which is really ugly. Screenrecorder-2024-08-27-16-42-46-159.mp4 |
No it's not possible to disable the app icon; as mentioned in the comment above this is the new Android standard. |
Closing this issue as intended behavior. |
Tested versions
System information
Windows 10 - Godot v4.3.RC2 - Forward+
Issue description
When exporting a Godot project to Android, a brief but noticeable flash of the app icon occurs before the intended boot splash (image or color set in Project Settings -> Application -> Boot Splash) is displayed. This Brief icon display cannot be hidden or replaced using current Godot settings.
Reproduce.mp4
Steps to reproduce
Minimal reproduction project (MRP)
AppIcon.zip
The text was updated successfully, but these errors were encountered: