forked from alunny/ScreenDim
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
39 lines (31 loc) · 1.18 KB
/
plugin.xml
File metadata and controls
39 lines (31 loc) · 1.18 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.phonegap.build.screendim"
version="1.0.2">
<name>Screen Dim</name>
<description>Cordova Screen Dim Plugin</description>
<keywords>cordova,screendim</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/screendim.js" name="screenDim">
<clobbers target="cordova.screenDim" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ScreenDim">
<param name="ios-package" value="ScreenDim"/>
</feature>
</config-file>
<header-file src="src/ios/ScreenDim.h" />
<source-file src="src/ios/ScreenDim.m" />
</platform>
<!-- android -->
<platform name="android">
<source-file src="src/android/ScreenDim.java" target-dir="src/com/phonegap/build/screendim" />
<config-file target="res/xml/plugins.xml" parent="/plugins">
<plugin name="ScreenDim" value="com.phonegap.build.screendim.ScreenDim" />
</config-file>
</platform>
</plugin>