[TIMOB-12815] BlackBerry: Add orientation property to tiapp.
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-03-06T02:36:54.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.1.0, 2013 Sprint 05 BB, 2013 Sprint 05 |
| Components | BlackBerry |
| Labels | n/a |
| Reporter | Josh Roesslein |
| Assignee | Josh Roesslein |
| Created | 2013-02-21T22:37:16.000+0000 |
| Updated | 2017-03-09T00:49:07.000+0000 |
Description
Add a BlackBerry specific property to tiapp.xml which exposes a way
to set the orientation setting in the generated application manifest.
This is needed to lock the application into landscape or portrait.
You can also enable "auto-orient" behavior which allows using
Window.orientationModes to programmatically control what orientations
are supported by your application.
The property should live in a blackberry section. For example:
<blackberry>
<orientation>landscape</orientation>
</blackberry>
Closing ticket as fixed.