aparajita / capacitor-splash-screen-demo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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

License:MIT License


Languages

Language:Vue 24.8%Language:Java 21.3%Language:CSS 16.8%Language:Swift 13.0%Language:TypeScript 8.7%Language:HTML 6.9%Language:Ruby 5.8%Language:JavaScript 2.8%