Welcome!

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

Reply
Developer
n_jay144
Posts: 68
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" />
</feature>

You can find more infos here:

https://developer.blackberry.com/html5/documentation/param_element.html

 

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

https://developer.blackberry.com/html5/documentation/blackberry10_webworkssdk_release_notes.html

Please use plain text.
Developer
biggerCC
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
Please use plain text.
Contributor
Nolte
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.
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 619
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

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.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.