-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
62 lines (46 loc) · 2.27 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
62
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="emi-indo-cordova-plugin-unityads"
version="0.0.3">
<name>emiUnityAdsPlugin</name>
<description>Welcome to Cordova Plugin Unity Ads</description>
<author>EMI INDO</author>
<license>ISC</license>
<js-module src="www/emiUnityAdsPlugin.js" name="emiUnityAdsPlugin">
<clobbers target="cordova.plugins.emiUnityAdsPlugin"/>
</js-module>
<engines>
<engine name="cordova"
version=">=10.0.0"/>
<engine name="cordova-android"
version=">=11.0.0"/>
</engines>
<platform name="android">
<preference name="UNITY_ADS_SDK" default="4.5.0"/>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="emiUnityAdsPlugin">
<param name="android-package" value="emi.indo.cordova.plugin.unityads.emiUnityAdsPlugin"/>
</feature>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.unity3d.ads.adunit.AdUnitActivity"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
<activity
android:name="com.unity3d.ads.adunit.AdUnitSoftwareActivity"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:hardwareAccelerated="false"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
</config-file>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"/>
<source-file src="src/android/emiUnityAdsPlugin.java" target-dir="src/emi/indo/cordova/plugin/unityads"/>
<framework src="com.unity3d.ads:unity-ads:$UNITY_ADS_SDK"/>
</platform>
</plugin>