UNPKG

cordova-plugin-screen-orientation

Version:

Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8, W8.1, and BB10.

46 lines (38 loc) 1.94 kB
<!-- # # 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. # --> # Release Notes ### 2.0.1 (Apr 27, 2017) * [CB-12622](https://issues.apache.org/jira/browse/CB-12622) Added **Android 6.0** build badge to `README` * [CB-12543](https://issues.apache.org/jira/browse/CB-12543) (iOS) Rotate to specified orientation when locked * [CB-12685](https://issues.apache.org/jira/browse/CB-12685) added `package.json` to tests folder * [CB-12588](https://issues.apache.org/jira/browse/CB-12588) add manual tests in cordova-plugin-test-framework style ### 2.0.0 (Mar 14, 2017) * [CB-11628](https://issues.apache.org/jira/browse/CB-11628) - w3c spec compliance https://www.w3.org/TR/screen-orientation/ ### 1.4.2 (Dec 07, 2016) * [CB-11919](https://issues.apache.org/jira/browse/CB-11919) - Add github pull request template * Merge pull request #1 from DouglasHSS/master * updated readme with release notes * version updated and license adjusted * support interoperability between Orientation preference and screen-orientation plugin * fix header file incorrectly set as source-file * adding missing files to plugin.xml * make iOS rotate as needed when lockOrientation is called * switch license from MIT to Apache 2.0