Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Demo app/workshop for @aparajita/capacitor-splash-screen

License

Notifications You must be signed in to change notification settings

aparajita/capacitor-splash-screen-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capacitor-splash-screen-demo  GitHub version

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

Installation

git clone https://github.com/aparajita/capacitor-splash-screen-demo.git
cd capacitor-splash-screen-demo
pnpm install

Usage

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.

Features

The demo illustrates how to implement the following plugin features:

  • Suspend/resume listener to display/hide a splash screen
  • Custom animation
  • Localization

Enjoy!