{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-lib/issues/128","labels_url":"https://api.github.com/repos/apache/cordova-lib/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-lib/issues/128/comments","events_url":"https://api.github.com/repos/apache/cordova-lib/issues/128/events","html_url":"https://github.com/apache/cordova-lib/pull/128","id":51052789,"number":128,"title":"CB-8043 CB-6462 CB-6105 Refactor orientation preference support","user":{"login":"MMrko","id":1456748,"avatar_url":"https://avatars.githubusercontent.com/u/1456748?v=3","gravatar_id":"","url":"https://api.github.com/users/MMrko","html_url":"https://github.com/MMrko","followers_url":"https://api.github.com/users/MMrko/followers","following_url":"https://api.github.com/users/MMrko/following{/other_user}","gists_url":"https://api.github.com/users/MMrko/gists{/gist_id}","starred_url":"https://api.github.com/users/MMrko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMrko/subscriptions","organizations_url":"https://api.github.com/users/MMrko/orgs","repos_url":"https://api.github.com/users/MMrko/repos","events_url":"https://api.github.com/users/MMrko/events{/privacy}","received_events_url":"https://api.github.com/users/MMrko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-05T01:28:52Z","updated_at":"2015-01-04T01:54:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cordova-lib/pulls/128","html_url":"https://github.com/apache/cordova-lib/pull/128","diff_url":"https://github.com/apache/cordova-lib/pull/128.diff","patch_url":"https://github.com/apache/cordova-lib/pull/128.patch"},"body":"Fixes [CB-8043](https://issues.apache.org/jira/browse/CB-8043), [CB-6462](https://issues.apache.org/jira/browse/CB-6462) and [CB-6105](https://issues.apache.org/jira/browse/CB-6105). Touches [CB-6182](https://issues.apache.org/jira/browse/CB-6182).\r\n\r\nAdds support for the global & platform-specific orientation preference (iOS, WP8 and FirefoxOS). Android and Amazon Fire OS already had this functionality. Additionally, the platform-specific orientation preference now accepts a custom value: the CLI will write it to the platform's config/manifest but also warn the user that it doesn't support the value.  If need be I'd be happy to update the [docs](http://cordova.apache.org/docs/en/4.0.0/config_ref_index.md.html) accordingly.\r\n\r\nAs a future improvement the orientation preference could offer a similar level of granularity to that of the native APIs. For example, iOS & WP8 APIs allow setting both an initial orientation as well as a set of supported orientations for an app. For now, developers will have to resort to a custom approach in their Cordova builds in case they've such needs.\r\n\r\nTested on OS X Mavericks & Windows 8 running VS 2013."},"comment":{"url":"https://api.github.com/repos/apache/cordova-lib/issues/comments/68617474","html_url":"https://github.com/apache/cordova-lib/pull/128#issuecomment-68617474","issue_url":"https://api.github.com/repos/apache/cordova-lib/issues/128","id":68617474,"user":{"login":"agrieve","id":1369484,"avatar_url":"https://avatars.githubusercontent.com/u/1369484?v=3","gravatar_id":"","url":"https://api.github.com/users/agrieve","html_url":"https://github.com/agrieve","followers_url":"https://api.github.com/users/agrieve/followers","following_url":"https://api.github.com/users/agrieve/following{/other_user}","gists_url":"https://api.github.com/users/agrieve/gists{/gist_id}","starred_url":"https://api.github.com/users/agrieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrieve/subscriptions","organizations_url":"https://api.github.com/users/agrieve/orgs","repos_url":"https://api.github.com/users/agrieve/repos","events_url":"https://api.github.com/users/agrieve/events{/privacy}","received_events_url":"https://api.github.com/users/agrieve/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T01:54:33Z","updated_at":"2015-01-04T01:54:33Z","body":"A few comments but love where this is going! I've merged in your first 3 commits since those are fine and I don't want to risk merge conflicts by leaving them pending for a while."}}