Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 77
Registered: ‎09-05-2012
My Device: Z10 Red, PlayBook, DevAlpha C
My Carrier: Play

Re: App rejected, but why?

You can fix rotation now by adding new param element into your config.xml file:


<feature id="blackberry.app.orientation">
    <param name="mode" value="portrait" />

You can find more infos here:



I encourage you to check release notes for BlackBerry 10 WebWorks SDK 1.0.2 Beta:


Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

Re: App rejected, but why?

Thanks for the update. No, I didn't stumble on this interesting fix yet. I find it a little bit funny to use different methods for screen orientation lock methods on BB10 and Tablet OS, but anyhow: it works...


Just resubmitted the app with correct new parameters.

- - -
My approved apps @ App World
Posts: 39
Registered: ‎09-02-2012
My Device: No Longer Using.
My Carrier: N/A

Re: App rejected, but why?

Does this fix it if I /want/ it to support different orientations or will this only lock the orientation?

Gave up on BlackBerry and delisted all apps.
BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: App rejected, but why?

Setting it in the config.xml will lock the orientation.  There's currently no way to do this on the fly once the app is opened.