-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.xml
87 lines (74 loc) · 3.67 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
<?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-mmedia"
version="2.2.0">
<name>MillennialMedia Ad</name>
<description>Cordova plugin for MillennialMedia Ads, support Banner, Interstitial and Video Ad</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>ad,millennial,mmedia,rjfun</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-mmedia.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-mmedia/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/mMedia.js" name="mMedia">
<clobbers target="window.mMedia" />
</js-module>
<dependency id="cordova-plugin-extension"/>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="mMedia">
<param name="android-package" value="com.rjfun.cordova.mmedia.mMediaAdPlugin"/>
</feature>
</config-file>
<source-file src="src/android/mMediaAdPlugin.java" target-dir="src/com/rjfun/cordova/mmedia" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.millennialmedia.android.MMActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:configChanges="keyboardHidden|orientation|keyboard" ></activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
</config-file>
<source-file src="src/android/MMSDK.jar" target-dir="libs" />
<source-file src="src/android/nmdp_speech_kit.jar" target-dir="libs" />
<source-file src="src/android/armeabi/libnmsp_speex.so" target-dir="libs/armeabi" />
<framework src="com.google.android.gms:play-services-ads:+" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="mMedia">
<param name="ios-package" value="mMediaAdPlugin" />
</feature>
</config-file>
<header-file src="src/ios/mMediaAdPlugin.h"/>
<source-file src="src/ios/mMediaAdPlugin.m"/>
<framework src="src/ios/MillennialMedia.framework" custom="true"/>
<framework src="src/ios/SpeechKit.framework" custom="true"/>
<framework src="AdSupport.framework"/>
<framework src="AudioToolbox.framework"/>
<framework src="AVFoundation.framework"/>
<framework src="CFNetwork.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreLocation.framework"/>
<framework src="EventKit.framework"/>
<framework src="Foundation.framework"/>
<framework src="MediaPlayer.framework"/>
<framework src="MobileCoreServices.framework"/>
<framework src="PassKit.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="Security.framework"/>
<framework src="Social.framework"/>
<framework src="StoreKit.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="UIKit.framework"/>
</platform>
</plugin>