UNPKG

cordova-plugin-lottie-splashscreen

Version:

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

51 lines (43 loc) 2.23 kB
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-lottie-splashscreen" version="0.10.0"> <name>LottieSplashScreen</name> <description>LottieSplashScreen Plugin</description> <license>MIT</license> <keywords>cordova,cordova-plugin,cordova-ios,lottie,lottie-ios,bodymovin,swift,kotlin,lottie-android,cordova-android</keywords> <js-module src="dist/www/lottie-splashscreen.js" name="LottieSplashScreen"> <clobbers target="lottie.splashscreen" /> </js-module> <platform name="android"> <config-file target="res/xml/config.xml" parent="/*"> <feature name="LottieSplashScreen"> <param name="android-package" value="de.dustplanet.cordova.lottie.LottieSplashScreen"/> <param name="onload" value="true"/> </feature> </config-file> <source-file src="src/android/LottieSplashScreen.kt" target-dir="app/src/main/kotlin/de/dustplanet/cordova/lottie" /> <source-file src="src/android/ColorHelper.kt" target-dir="app/src/main/kotlin/de/dustplanet/cordova/lottie" /> <source-file src="src/android/LottieSplashScreenExceptions.kt" target-dir="app/src/main/kotlin/de/dustplanet/cordova/lottie" /> <framework src="com.airbnb.android:lottie:4.2.1" /> <framework src="androidx.annotation:annotation:1.5.0" /> <!-- v1.4.0 requires SDK 31 --> <framework src="androidx.appcompat:appcompat:1.3.0" /> </platform> <platform name="ios"> <config-file target="config.xml" parent="/*"> <feature name="LottieSplashScreen"> <param name="ios-package" value="LottieSplashScreen" /> <param name="onload" value="true" /> </feature> </config-file> <source-file src="src/ios/LottieSplashScreen.swift" /> <source-file src="src/ios/UIColorHelper.swift" /> <podspec> <config> <source url="https://cdn.cocoapods.org/"/> </config> <pods use-frameworks="true"> <pod name="lottie-ios" spec="~> 3.5.0" /> </pods> </podspec> </platform> </plugin>