[
https://issues.apache.org/jira/browse/CB-9528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256326#comment-15256326
]
Tony Homer commented on CB-9528:
--------------------------------
A quick update - last week I found that a (non-core) plugin like the one
proposed here already exists:
https://github.com/gbenvenuti/cordova-plugin-screen-orientation
Instead of starting from scratch, I'm going to contribute to this one.
There are a lot of open issues, but I'm in contact with the author and he is
interested in taking PRs to fix the open issues.
I submitted [a PR|
https://github.com/gbenvenuti/cordova-plugin-screen-orientation/pull/101] last
week to fix "rotate on lock" for iOS.
I'll be submitting more PRs to fix other issues, add tests, possibly updates
the spec, etc.
I intend to update this JIRA to align it with this effort.
> create new core plugin to control screen orientation
> ----------------------------------------------------
>
> Key: CB-9528
> URL: https://issues.apache.org/jira/browse/CB-9528
> Project: Apache Cordova
> Issue Type: Improvement
> Reporter: Tony Homer
> Assignee: Tony Homer
>
> Create a new core Cordova plugin that enables the user to dynamically control
> the orientation of their app.
> Tentatively base interface on [the screen-orientation spec|
> http://www.w3.org/TR/screen-orientation/].
> There is a precedent for this behavior being supported as part of Cordova.
> Previously iOS supported a non-standard approach to controlling the
> orientation dynamically (see last entry in [this section of the 5.1.1
> docs|http://cordova.apache.org/docs/en/5.1.1/config_ref_index.md.html#The%20config.xml%20File_multi_platform_preferences]).
> Recent platform changes made the iOS-specific approach untenable, but it's
> removal prompted a discussion about enabling this as a cross-platform feature
> via a new core plugin.
> See related discussion in CB-8047.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]