2014-05-06 14:53:23 +08:00
|
|
|
<?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="net.yoik.cordova.plugins.screenorientation"
|
2015-05-10 18:59:00 +08:00
|
|
|
version="1.3.3">
|
2014-05-06 14:53:23 +08:00
|
|
|
|
2014-07-30 06:49:28 +08:00
|
|
|
<name>Screen Orientation</name>
|
2014-07-27 11:55:13 +08:00
|
|
|
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS and BB10.</description>
|
2014-05-06 14:53:23 +08:00
|
|
|
<license>MIT</license>
|
|
|
|
|
|
|
|
<engines>
|
|
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
|
|
</engines>
|
|
|
|
|
|
|
|
<js-module src="www/screenorientation.js" name="screenorientation">
|
|
|
|
<clobbers target="cordova.plugins.screenorientation" />
|
|
|
|
</js-module>
|
|
|
|
|
2014-05-08 05:56:40 +08:00
|
|
|
<platform name="ios">
|
2014-05-06 14:53:23 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="YoikScreenOrientation">
|
|
|
|
<param name="ios-package" value="YoikScreenOrientation" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
2014-07-27 11:51:20 +08:00
|
|
|
<js-module src="www/screenorientation.ios.js" name="screenorientation.ios">
|
|
|
|
<merges target="cordova.plugins.screenorientation" />
|
|
|
|
</js-module>
|
2014-05-06 14:53:23 +08:00
|
|
|
<header-file src="src/ios/YoikScreenOrientation.h" />
|
|
|
|
<source-file src="src/ios/YoikScreenOrientation.m" />
|
|
|
|
</platform>
|
|
|
|
|
|
|
|
<platform name="android">
|
|
|
|
<source-file src="src/android/net/yoik/cordova/plugins/screenorientation/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
|
|
|
|
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="YoikScreenOrientation">
|
|
|
|
<param name="android-package" value="net.yoik.cordova.plugins.screenorientation.YoikScreenOrientation" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
2014-07-30 06:49:28 +08:00
|
|
|
<js-module src="www/screenorientation.android.js" name="screenorientation.android">
|
|
|
|
<merges target="cordova.plugins.screenorientation" />
|
|
|
|
</js-module>
|
2014-05-06 14:53:23 +08:00
|
|
|
</platform>
|
|
|
|
|
2014-07-27 11:51:20 +08:00
|
|
|
<platform name="blackberry10">
|
|
|
|
<dependency id="com.blackberry.app" />
|
|
|
|
<config-file target="www/config.xml" parent="/widget">
|
|
|
|
<feature name="net.yoik.cordova.plugins.screenorientation" value="net.yoik.cordova.plugins.screenorientation" />
|
|
|
|
</config-file>
|
|
|
|
<js-module src="www/screenorientation.bb10.js" name="screenorientation.bb10">
|
|
|
|
<merges target="cordova.plugins.screenorientation" />
|
|
|
|
</js-module>
|
|
|
|
</platform>
|
|
|
|
|
2015-01-02 23:04:45 +08:00
|
|
|
<platform name="wp8">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="YoikScreenOrientation">
|
|
|
|
<param name="wp-package" value="YoikScreenOrientation"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<js-module src="www/screenorientation.wp8.js" name="screenorientation.wp8">
|
|
|
|
<merges target="cordova.plugins.screenorientation" />
|
|
|
|
</js-module>
|
|
|
|
<source-file src="src/wp/YoikScreenOrientation.cs" />
|
|
|
|
</platform>
|
|
|
|
|
2014-07-13 07:34:21 +08:00
|
|
|
</plugin>
|