2014-05-06 14:53:23 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-05-06 02:46:35 +08:00
|
|
|
<!--
|
2016-08-30 05:33:03 +08:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
-->
|
2016-05-06 02:46:35 +08:00
|
|
|
|
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
2015-05-20 11:54:47 +08:00
|
|
|
id="cordova-plugin-screen-orientation"
|
2016-10-18 07:25:16 +08:00
|
|
|
version="2.0.0-dev">
|
2014-07-30 06:49:28 +08:00
|
|
|
<name>Screen Orientation</name>
|
2015-08-08 00:12:10 +08:00
|
|
|
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8, W8.1, and BB10.</description>
|
2016-12-13 10:20:42 +08:00
|
|
|
<license>Apache 2.0</license>
|
2014-05-06 14:53:23 +08:00
|
|
|
|
|
|
|
<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="/*">
|
2016-08-30 05:33:03 +08:00
|
|
|
<feature name="CDVOrientation">
|
|
|
|
<param name="ios-package" value="CDVOrientation" />
|
2014-05-06 14:53:23 +08:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
2016-12-13 03:23:29 +08:00
|
|
|
|
2016-08-30 05:33:03 +08:00
|
|
|
<header-file src="src/ios/CDVOrientation.h" />
|
|
|
|
<source-file src="src/ios/CDVOrientation.m" />
|
2016-12-13 03:23:29 +08:00
|
|
|
|
2014-05-06 14:53:23 +08:00
|
|
|
</platform>
|
|
|
|
|
|
|
|
<platform name="android">
|
2016-08-30 05:33:03 +08:00
|
|
|
<source-file src="src/android/CDVOrientation.java" target-dir="src/cordova/plugins/screenorientation/" />
|
2014-05-06 14:53:23 +08:00
|
|
|
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
2016-08-30 05:33:03 +08:00
|
|
|
<feature name="CDVOrientation">
|
|
|
|
<param name="android-package" value="cordova.plugins.screenorientation.CDVOrientation" />
|
2014-05-06 14:53:23 +08:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
2016-12-13 03:23:29 +08:00
|
|
|
|
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-08-08 00:12:10 +08:00
|
|
|
<platform name="windows">
|
2016-08-30 05:33:03 +08:00
|
|
|
<js-module src="src/windows/CDVOrientationProxy.js" name="CDVOrientationProxy">
|
|
|
|
<merges target="" />
|
2015-08-08 00:12:10 +08:00
|
|
|
</js-module>
|
|
|
|
</platform>
|
|
|
|
|
2016-12-21 17:10:19 +08:00
|
|
|
<dependency
|
|
|
|
id="es6-promise-plugin"
|
|
|
|
url="https://github.com/vstirbu/PromisesPlugin.git">
|
|
|
|
</dependency>
|
|
|
|
|
2014-07-13 07:34:21 +08:00
|
|
|
</plugin>
|