UNPKG

cordova-plugin-injectview

Version:

Automatically inject Cordova platform and plugin scripts into your site.

43 lines (39 loc) 1.97 kB
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-injectview" version="1.1.1"> <name>InjectView</name> <author>Chris Schmich</author> <description>Automatically inject Cordova platform and plugin scripts into your site.</description> <license>MIT</license> <keywords>android, cordova, cordova-android, cordova-android-plugin, cordova-ios, cordova-ios-plugin, cordova-plugin, inject, ios, javascript, plugin</keywords> <repo>https://github.com/formulateco/cordova-plugin-injectview.git</repo> <issue>https://github.com/formulateco/cordova-plugin-injectview/issues</issue> <!-- Generate Cordova script manifest when the project changes. We use this manifest at runtime to determine which scripts to inject. --> <hook type="after_prepare" src="scripts/update-manifest.js" /> <hook type="after_plugin_add" src="scripts/update-manifest.js" /> <hook type="after_plugin_rm" src="scripts/update-manifest.js" /> <hook type="after_platform_add" src="scripts/update-manifest.js" /> <hook type="before_compile" src="scripts/update-manifest.js" /> <hook type="before_plugin_uninstall" src="scripts/update-manifest.js" /> <platform name="android"> <source-file src="src/android/InjectView.java" target-dir="src/me/steenman/injectview" /> <config-file target="res/xml/config.xml"> <feature name="InjectView"> <param name="onload" value="true" /> <param name="android-package" value="me.steenman.injectview.InjectView" /> </feature> </config-file> </platform> <platform name="ios"> <header-file src="src/ios/CDVInjectView.h" /> <source-file src="src/ios/CDVInjectView.m" /> <config-file target="config.xml" parent="/*"> <feature name="InjectView"> <param name="ios-package" value="CDVInjectView" /> <param name="onload" value="true" /> </feature> </config-file> </platform> </plugin>