cordova-plugin-smartadserver
Version:
Cordova plugin for Smart Ad Server to monetize hybrid apps
51 lines (42 loc) • 2.18 kB
text/xml
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-smartadserver"
version="0.9.2">
<name>Smart Ad Server</name>
<description>Cordova plugin for Smart Ad Server to monetize hybrid apps</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>rjfun,ad,smart</keywords>
<repo>https://github.com/floatinghotpot/cordova-smart-adserver.git</repo>
<issue>https://github.com/floatinghotpot/cordova-smart-adserver/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/SmartAdServer.js" name="SmartAdServer">
<clobbers target="window.SmartAdServer" />
</js-module>
<dependency id="cordova-plugin-extension" />
<!-- android -->
<platform name="android">
<dependency id="cordova-plugin-googleplayservices" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.google.android.gms.ads.AdActivity"
android:theme="@android:style/Theme.Translucent" />
</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_FINE_LOCATION"/>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SmartAdServer">
<param name="android-package" value="com.rjfun.cordova.smartadserver.SmartAdServerPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/SmartAdServerPlugin.java" target-dir="src/com/rjfun/cordova/smartadserver" />
<source-file src="src/android/SmartAdServer-Android-SDK-5.0.3.jar" target-dir="libs" />
</platform>
</plugin>