-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
39 lines (33 loc) · 1.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-unity-ads" version="0.0.1">
<name>Unity Ads</name>
<description>Cordova Unity Ads</description>
<license>Apache 2.0</license>
<keywords>cordova,device</keywords>
<js-module src="www/unity-ads.js" name="unity-ads">
<clobbers target="UnityAds" />
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="UnityAdsPlugin">
<param name="android-package" value="com.platogo.cordova.unityads.UnityAdsPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="src/android/UnityAdsPlugin.gradle" custom="true" type="gradleReference" />
<resource-file src="libs/android/unity-ads.aar" target="libs/android/unity-ads.aar" />
<source-file src="src/android/UnityAdsPlugin.java" target-dir="src/com/platogo/cordova/unityads" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="UnityAdsPlugin">
<param name="ios-package" value="UnityAdsPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/UnityAdsPlugin.h" />
<source-file src="src/ios/UnityAdsPlugin.m" />
<framework src="libs/ios/UnityAds.framework" custom="true" />
</platform>
</plugin>