forked from alunny/ScreenDim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
37 lines (28 loc) · 1.3 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="us.rcs.phonegap.plugins.screendim"
version="1.0.0">
<name>Screen Dim</name>
<description>
This is a fork of the PhoneGap/Cordova plugin for enabling/disabling screen dim from alunny. Modifications were made to make it hopefully compliant with PhoneGap Build for all to use. Namespace was changed, as I hope to extend this, and wasn't sure on alunny's intention with the original plugin.
</description>
<license>MIT</license>
<asset src="www/screendim.js" target="screendim.js" />
<!-- ios -->
<platform name="ios">
<plugins-plist key="ScreenDim"
string="ScreenDimPlugin" />
<header-file src="ScreenDimPlugin.h" />
<source-file src="ScreenDimPlugin.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="us.rcs.phonegap.plugins.screendim.ScreenDim" />
</config-file>
</platform>
</plugin>