cordova-plugin-mytarget
Version:
MyTarget integration for cordova
62 lines (55 loc) • 2.57 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-mytarget"
version="1.0.0">
<name>MyTarget</name>
<description>MyTarget integration for cordova</description>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<license>Apache 2.0 License</license>
<author>DrMoriarty</author>
<keywords>cordova,phonegap,mytarget</keywords>
<js-module src="www/MyTarget.js" name="MyTarget">
<clobbers target="MyTarget"/>
</js-module>
<!-- ios -->
<platform name="ios">
<framework src="src/ios/MyTargetSDK.framework" custom="true"/>
<framework src="src/ios/mediation/MyTargetSDKAdmobMediation.framework" custom="true"/>
<!--framework src="src/ios/mediation/MyTargetSDKMopubMediation.framework" custom="true"/-->
<framework src="StoreKit.framework" custom="false"/>
<framework src="AdSupport.framework" custom="false"/>
<framework src="AVFoundation.framework" custom="false"/>
<framework src="CoreLocation.framework" custom="false"/>
<framework src="CoreTelephony.framework" custom="false"/>
<framework src="SystemConfiguration.framework" custom="false"/>
<source-file src="src/ios/MyTargetPlugin.h"/>
<source-file src="src/ios/MyTargetPlugin.m"/>
<config-file target="config.xml" parent="/*">
<feature name="MyTargetPlugin">
<param name="ios-package" value="MyTargetPlugin"/>
</feature>
</config-file>
</platform>
<!-- android -->
<platform name="android">
<source-file src="src/android/mytarget-sdk-4.5.6.jar" target-dir="libs" />
<source-file src="src/android/MyTargetPlugin.java" target-dir="src/ru/orangeapps/mytarget/" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.my.target.ads.MyTargetActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="MyTargetPlugin">
<param name="android-package" value="ru.orangeapps.mytarget.MyTargetPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
</platform>
</plugin>