tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

how to add a launch screen for iOS and Android?

Open hydra1983 opened this issue 8 months ago • 7 comments

It seems there is no doc about this?

hydra1983 avatar Mar 03 '25 06:03 hydra1983

There's no explicit tauri feature for this so you'll need to modify the Android Studio and code projects in src-tauri/gen and then official guides etc will apply as those are "normal"Android/x code projects you'd see outside of tauri land.

P.S. the x code project already has a default LaunchScreen

FabianLars avatar Mar 03 '25 08:03 FabianLars

@FabianLars Thanks, the launch screen works! However, I'm seeing a blank white screen between the launch screen and my first page component. Any suggestions on how to resolve this?

hydra1983 avatar Mar 03 '25 08:03 hydra1983

Nope, i'm stuck on that too https://github.com/tauri-apps/tauri/issues/1564#issuecomment-2686342681 / https://github.com/tauri-apps/tauri/issues/1564#issuecomment-2690413898

FabianLars avatar Mar 03 '25 08:03 FabianLars

@hydra1983 Got it and thanks again.

hydra1983 avatar Mar 03 '25 08:03 hydra1983

i'll reopen this for now because i think we can at least give an intro to this topic in our docs.

FabianLars avatar Mar 03 '25 09:03 FabianLars

Have the same issue, this is my biggest wish for this framework right now. Everything else works pretty damn well. Just can't have that white flash when launching the app.

plitarko avatar Mar 05 '25 18:03 plitarko

i'll keep the flash discussion etc in https://github.com/tauri-apps/tauri/issues/1564 to keep this one here about potential guides etc. (kinda have a solution for the flash so head over there for updates)

FabianLars avatar Mar 05 '25 22:03 FabianLars