UNPKG

2.86 kBXMLView Raw
1<?xml version="1.0" encoding="UTF-8"?>
2<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 id="cordova-plugin-screen-orientation"
5 version="1.3.6">
6
7 <name>Screen Orientation</name>
8 <description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8 and BB10.</description>
9 <license>MIT</license>
10
11 <engines>
12 <engine name="cordova" version=">=3.0.0" />
13 </engines>
14
15 <js-module src="www/screenorientation.js" name="screenorientation">
16 <clobbers target="cordova.plugins.screenorientation" />
17 </js-module>
18
19 <platform name="ios">
20 <config-file target="config.xml" parent="/*">
21 <feature name="YoikScreenOrientation">
22 <param name="ios-package" value="YoikScreenOrientation" />
23 </feature>
24 </config-file>
25 <js-module src="www/screenorientation.ios.js" name="screenorientation.ios">
26 <merges target="cordova.plugins.screenorientation" />
27 </js-module>
28 <header-file src="src/ios/YoikScreenOrientation.h" />
29 <source-file src="src/ios/YoikScreenOrientation.m" />
30 </platform>
31
32 <platform name="android">
33 <source-file src="src/android/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
34
35 <config-file target="res/xml/config.xml" parent="/*">
36 <feature name="YoikScreenOrientation">
37 <param name="android-package" value="net.yoik.cordova.plugins.screenorientation.YoikScreenOrientation" />
38 </feature>
39 </config-file>
40 <js-module src="www/screenorientation.android.js" name="screenorientation.android">
41 <merges target="cordova.plugins.screenorientation" />
42 </js-module>
43 </platform>
44
45 <platform name="blackberry10">
46 <dependency id="com.blackberry.app" />
47 <config-file target="www/config.xml" parent="/widget">
48 <feature name="net.yoik.cordova.plugins.screenorientation" value="net.yoik.cordova.plugins.screenorientation" />
49 </config-file>
50 <js-module src="www/screenorientation.bb10.js" name="screenorientation.bb10">
51 <merges target="cordova.plugins.screenorientation" />
52 </js-module>
53 </platform>
54
55 <platform name="wp8">
56 <config-file target="config.xml" parent="/*">
57 <feature name="YoikScreenOrientation">
58 <param name="wp-package" value="YoikScreenOrientation"/>
59 </feature>
60 </config-file>
61 <js-module src="www/screenorientation.wp8.js" name="screenorientation.wp8">
62 <merges target="cordova.plugins.screenorientation" />
63 </js-module>
64 <source-file src="src/wp/YoikScreenOrientation.cs" />
65 </platform>
66
67</plugin>