-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
47 lines (36 loc) · 1.33 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
46
47
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.alexwasner.plugins.orientationlock"
version="0.0.1">
<name>OrientationLock</name>
<description>
This plugin allows you to change the app's orientation
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/OrientationLock.js" name="OrientationLock">
<clobbers target="OrientationLock" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="OrientationLock">
<param name="ios-package" value="OrientationLock" />
</feature>
</config-file>
<header-file src="src/ios/OrientationLock.h" />
<source-file src="src/ios/OrientationLock.m" />
<framework src="Foundation.framework" weak="true" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="OrientationLock">
<param name="android-package" value="com.alexwasner.plugins.orientationlock.OrientationLock" />
</feature>
</config-file>
<source-file src="src/android/OrientationLock.java" target-dir="src/com/alexwasner/plugins/orientationlock" />
</platform>
</plugin>