UNPKG

cordova-plugin-extension

Version:

Cordova Plugin common extension with adapter interface

54 lines (45 loc) 2.09 kB
<?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-extension" version="1.6.0"> <name>Cordova Plugin Extension</name> <description>Common interface and reusable code, as dependency of other plugins</description> <author>Liming Xie</author> <license>MIT</license> <keywords>extension,rjfun</keywords> <repo>https://github.com/floatinghotpot/cordova-extension.git</repo> <issue>https://github.com/floatinghotpot/cordova-extension/issues</issue> <engines> <engine name="cordova" version=">=7.0" /> </engines> <!-- android --> <platform name="android"> <source-file src="src/android/PluginAdapterDelegate.java" target-dir="src/com/rjfun/cordova/ext" /> <source-file src="src/android/CordovaPluginExt.java" target-dir="src/com/rjfun/cordova/ext" /> <lib-file src="src/android/CordovaAd.jar" /> </platform> <!-- ios --> <platform name="ios"> <preference name="USAGE" default="This identifier will be used to deliver personalized ads to you." /> <config-file target="*-Info.plist" parent="NSUserTrackingUsageDescription"> <string>$USAGE</string> </config-file> <!-- Temporary exception as iOS9 blocking HTTP --> <config-file target="*-Info.plist" parent="NSAppTransportSecurity"> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsForMedia</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> </dict> </config-file> <header-file src="src/ios/PluginAdapterDelegate.h"/> <header-file src="src/ios/CDVPluginExt.h"/> <header-file src="src/ios/GenericAdPlugin.h"/> <source-file src="src/ios/libCordovaAd.a" framework="true"/> <framework src="CFNetwork.framework"/> </platform> </plugin>