-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugin.xml
45 lines (34 loc) · 1.25 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
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.abarak64.screen-lock"
version="0.1.0">
<name>ScreenLock</name>
<author>Adam Barak</author>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/screenLock.js" target="js/screenLock.js"/>
<js-module src="www/screenLock.js" name="screenLock">
<clobbers target="screenLock" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ScreenLock">
<param name="android-package" value="com.abarak64.screenlock.ScreenLock"/>
</feature>
</config-file>
<source-file src="src/android/ScreenLock.java" target-dir="src/com/abarak64/screenlock/"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="ScreenLock">
<param name="ios-package" value="ScreenLock" />
</feature>
</config-file>
<header-file src="src/ios/ScreenLock.h" target-dir="ScreenLockPlugin"/>
<source-file src="src/ios/ScreenLock.m" target-dir="ScreenLockPlugin"/>
</platform>
<platform name="wp7">
<source-file src="src/wp7/Hello.cs"/>
</platform>
</plugin>