-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
30 lines (24 loc) · 1011 Bytes
/
plugin.xml
File metadata and controls
30 lines (24 loc) · 1011 Bytes
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.groupahead.screen"
version="0.1.0">
<name>Screen</name>
<description>Allows persisting the screen on</description>
<license>MIT</license>
<keywords>phonegap,screen</keywords>
<js-module src="www/screen.js" name="Screen">
<clobbers target="window.screenControl" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Screen">
<param name="android-package" value="com.groupahead.screen.Screen"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WAKE_LOCK"/>
</config-file>
<source-file src="src/android/Screen.java" target-dir="src/com/groupahead/screen" />
</platform>
</plugin>