-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
61 lines (52 loc) · 2.53 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
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-applovin-max" version="1.0.9">
<name>AppLovin MAX</name>
<description>AppLovin MAX Cordova Plugin</description>
<license>MIT</license>
<keywords>applovin,max</keywords>
<repo>https://github.com/AppLovin/AppLovin-MAX-Cordova</repo>
<issue>https://github.com/AppLovin/AppLovin-MAX-Cordova/issues</issue>
<js-module src="www/applovinmax.js" name="AppLovinMAX">
<!-- module.exports gets inserted into the `window` object as window.applovin -->
<clobbers target="applovin" />
</js-module>
<!-- android -->
<platform name="android">
<hook type="after_plugin_add" src="scripts/android/addDependencyHook.js" />
<hook type="after_platform_add" src="scripts/android/addDependencyHook.js" />
<hook type="before_plugin_rm" src="scripts/android/removeDependencyHook.js" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AppLovinMAX" >
<param name="android-package" value="com.applovin.cordova.AppLovinMAX" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/AppLovinMAX.java" target-dir="src/com/applovin/cordova" />
<framework src="com.applovin:applovin-sdk:+" />
<framework src="com.google.ads.mediation:applovin:11.9.0.0" />
<framework src="applovin.gradle" custom="true" type="gradleReference" />
</platform>
<!-- ios -->
<platform name="ios">
<hook type="after_prepare" src="scripts/ios/setupApplovinQualityServiceHook.js" />
<hook type="before_plugin_rm" src="scripts/ios/removeApplovinQualityServiceHook.js" />
<config-file target="config.xml" parent="/*">
<feature name="AppLovinMAX">
<param name="ios-package" value="AppLovinMAX" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/AppLovinMAX.h" />
<source-file src="src/ios/AppLovinMAX.m" />
<podspec>
<config>
<source url="https://github.com/AppLovin/CocoaPods-Specs" />
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="AppLovinSDK" />
<pod name="GoogleMobileAdsMediationAppLovin" />
</pods>
</podspec>
</platform>
</plugin>