Lottie Splash Screen

Contents

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

Installation

ionic cordova plugin add cordova-plugin-lottie-splashscreennpm 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 enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/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));