forked from lesteenman/cordova-plugin-injectview
-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.xml
42 lines (39 loc) · 1.93 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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>