-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathplugin.xml
95 lines (77 loc) · 3.92 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-mopub"
version="2.4.1">
<name>MoPub</name>
<description>Cordova/PhoneGap Plugin for MoPub Ads</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>rjfun,ad,mopub</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-mopub.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-mopub/issues</issue>
<engines>
<engine name="cordova" version=">=3.5" />
</engines>
<js-module src="www/MoPub.js" name="MoPub">
<clobbers target="window.MoPub" />
</js-module>
<dependency id="cordova-plugin-extension"/>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MoPub">
<param name="android-package" value="com.rjfun.cordova.mopub.MoPubPlugin"/>
</feature>
</config-file>
<source-file src="src/android/MoPubPlugin.java" target-dir="src/com/rjfun/cordova/mopub" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.mopub.mobileads.MoPubActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity android:name="com.mopub.mobileads.MraidActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity android:name="com.mopub.common.MoPubBrowser" android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity android:name="com.mopub.mobileads.MraidVideoPlayerActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<activity android:name="com.mopub.mobileads.RewardedMraidActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</config-file>
<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="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>
<framework src="com.mopub:mopub-sdk:+" />
<framework src="com.mopub.volley:mopub-volley:+" />
<framework src="com.google.android.gms:play-services-ads:+" />
<framework src="com.android.support:support-v4:+" />
<framework src="com.android.support:recyclerview-v7:+" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MoPub">
<param name="ios-package" value="MoPubPlugin" />
</feature>
</config-file>
<header-file src="src/ios/MoPubPlugin.h"/>
<source-file src="src/ios/MoPubPlugin.m"/>
<framework src="AdSupport.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreLocation.framework"/>
<framework src="CoreMedia.framework"/>
<framework src="CoreTelephony.framework"/>
<framework src="EventKit.framework"/>
<framework src="EventKitUI.framework"/>
<framework src="Foundation.framework"/>
<framework src="MediaPlayer.framework"/>
<framework src="MessageUI.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="StoreKit.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="UIKit.framework"/>
<framework src="WebKit.framework"/>
<!-- required cordova 6.4.0 or higher -->
<framework src="mopub-ios-sdk" type="podspec" spec="~> 4.12.0"/>
</platform>
</plugin>