forked from timbru31/cordova-plugin-lottie-splashscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (43 loc) · 2.18 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?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="~> 4.4.0" />
</pods>
</podspec>
</platform>
</plugin>