To do this you can use the native SplashScreen plugin that comes with Capacitor, but for animation, you need to go a bit further. First, disable the default splash screen auto-hide by setting launchShowDuration to 0 in capacitor.config.ts. Then, create your own custom animated splash using an HTML page with CSS or Lottie animation. Show this animation right after the app loads using a full-screen component or modal, and hide it with JavaScript after a few seconds or when the app is ready. There is no official plugin for animated splash, but using this method gives you full control and works smoothly.
↧