|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" |
| 4 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 | + id="com.affinity.cordova.adcolony" |
| 6 | + version="0.9.0"> |
| 7 | + |
| 8 | + <name>AdColony</name> |
| 9 | + <description>Cordova/PhoneGap Plugin for AdColony</description> |
| 10 | + <author>Brant Watrous</author> |
| 11 | + <license>MIT</license> |
| 12 | + |
| 13 | + <keywords>adcolony,affinity,ad,admob,iad,mopub,audience</keywords> |
| 14 | + <repo>https://github.com/gabecoyne/cordova-adcolony-plugin.git</repo> |
| 15 | + <issue>https://github.com/gabecoyne/cordova-adcolony-plugin/issues</issue> |
| 16 | + |
| 17 | + <engines> |
| 18 | + <engine name="cordova" version=">=3.0" /> |
| 19 | + </engines> |
| 20 | + |
| 21 | + <js-module src="www/AdColony.js" name="AdColony"> |
| 22 | + <clobbers target="window.AdColony" /> |
| 23 | + </js-module> |
| 24 | + |
| 25 | + <!-- android --> |
| 26 | + <platform name="android"> |
| 27 | + <config-file target="res/xml/config.xml" parent="/*"> |
| 28 | + <feature name="AdColony"> |
| 29 | + <param name="android-package" value="com.affinity.cordova.adcolony.AdColonyPlugin"/> |
| 30 | + </feature> |
| 31 | + </config-file> |
| 32 | + |
| 33 | + <config-file target="AndroidManifest.xml" parent="/*"> |
| 34 | + <uses-permission android:name="android.permission.INTERNET"/> |
| 35 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 36 | + </config-file> |
| 37 | + |
| 38 | + <config-file target="AndroidManifest.xml" parent="/manifest/application"> |
| 39 | + <activity android:configChanges="keyboardHidden|orientation|screenSize" android:name="com.jirbo.adcolony.AdColonyOverlay" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> |
| 40 | + <activity android:configChanges="keyboardHidden|orientation|screenSize" android:name="com.jirbo.adcolony.AdColonyFullscreen" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" /> |
| 41 | + <activity android:configChanges="keyboardHidden|orientation|screenSize" android:name="com.jirbo.adcolony.AdColonyBrowser" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" /> |
| 42 | + </config-file> |
| 43 | + |
| 44 | + <source-file src="src/android/AdColonyPlugin.java" target-dir="src/com/affinity/cordova/adcolony" /> |
| 45 | + <source-file src="src/android/adcolony.jar" target-dir="libs" /> |
| 46 | + </platform> |
| 47 | + |
| 48 | + <!-- ios --> |
| 49 | + <platform name="ios"> |
| 50 | + <config-file target="config.xml" parent="/*"> |
| 51 | + <feature name="AdColony"> |
| 52 | + <param name="ios-package" value="AdColonyPlugin" /> |
| 53 | + </feature> |
| 54 | + </config-file> |
| 55 | + |
| 56 | + <header-file src="src/ios/AdColonyPlugin.h" /> |
| 57 | + <source-file src="src/ios/AdColonyPlugin.m" /> |
| 58 | + |
| 59 | + <framework src="src/ios/AdColony.framework" custom="true"/> |
| 60 | + <framework src="AdSupport.framework" /> |
| 61 | + <framework src="CoreGraphics.framework" /> |
| 62 | + <framework src="CoreMedia.framework" /> |
| 63 | + <framework src="CoreTelephony.framework" /> |
| 64 | + <framework src="EventKit.framework" /> |
| 65 | + <framework src="EventKitUI.framework"/> |
| 66 | + <framework src="Foundation.framework" /> |
| 67 | + <framework src="libz.1.2.5.dylib" /> |
| 68 | + <framework src="MediaPlayer.framework" /> |
| 69 | + <framework src="MessageUI.framework" /> |
| 70 | + <framework src="QuartzCore.framework" /> |
| 71 | + <framework src="Social.framework" weak="true"/> |
| 72 | + <framework src="StoreKit.framework"/> |
| 73 | + <framework src="SystemConfiguration.framework" /> |
| 74 | + <framework src="UIKit.framework" /> |
| 75 | + </platform> |
| 76 | + |
| 77 | +</plugin> |
0 commit comments