Lottie Splash Screen

Contents

Cordova plugin to show bodymovin/Lottie animations as the splash screen with Airbnb's Lottie wrapper

https://github.com/timbru31/cordova-plugin-lottie-splashscreen

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-lottie-splashscreen npm install @ionic-native/lottie-splash-screen
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/lottie-splash-screen

Supported Platforms

  • Android
  • iOS

Usage

import { LottieSplashScreen } from '@ionic-native/lottie-splash-screen/ngx';


constructor(private lottieSplashScreen: LottieSplashScreen) { }

...


this.lottieSplashScreen.show('www/lottie/animation.json', false, 1024, 768)
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));