This Ionic/Capacitor 4 application provides a demo of all of the capacibilities of the capacitor-splash-screen Capacitor plugin. When creating your own splash screens, you can use this application both as a template and as a workshop to tweak the animations and timings to your liking.
splash-demo.mov
git clone https://github.com/aparajita/capacitor-splash-screen-demo.git
cd capacitor-splash-screen-demo
pnpm install
To launch the demo in Xcode or Android Studio:
pnpm ios.prod # npm run ios.prod
pnpm android.prod # npm run android.prod
Note that all duration values in the demo may be specified in seconds or milliseconds.
The demo illustrates how to implement the following plugin features:
- Suspend/resume listener to display/hide a splash screen
- Custom animation
- Localization
Enjoy!