forked from lycwed/lycwed-cordova-plugin-admob-vungle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
executable file
·51 lines (41 loc) · 2.03 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="lycwed-cordova-plugin-admob-vungle" version="1.0.21"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>lycwed-cordova-plugin-admob-vungle</name>
<description>Cordova AdMob Mediation Plugin for Vungle</description>
<engines>
<engine name="cordova" version=">=3" />
</engines>
<platform name="android">
<framework src="src/android/vungle.gradle" custom="true" type="gradleReference" />
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<activity
android:name="com.vungle.warren.ui.VungleActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
android:launchMode="singleTop"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
<activity
android:name="com.vungle.warren.ui.VungleFlexViewActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
</config-file>
<!-- Prevents compilation error: https://developer.android.com/studio/build/multidex.html -->
<!-- when add additional mediation plugins -->
<dependency id="cordova-plugin-multidex" />
</platform>
<platform name="ios">
<pods-config ios-min-version="9.0" use-frameworks="true" />
<pod id="GoogleMobileAdsMediationVungle" version="6.3.2.1" />
<header-file src="src/ios/Vungle.h" />
<source-file src="src/ios/Vungle.m" />
<!-- Prevents compilation failures when using pod's id with additional mediations plugins -->
<dependency id="cordova-plugin-cocoapod-support" />
</platform>
<config-file parent="/*" target="config.xml">
<preference name="REWARDVIDEO_ID" value="$REWARDVIDEO_ID"/>
<preference name="INTERSTITIAL_ID" value="$INTERSTITIAL_ID"/>
</config-file>
</plugin>