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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Regular Contributor
n_jay144
Posts: 54
Registered: ‎09-05-2012
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: 267
Registered: ‎12-13-2010
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: 14
Registered: ‎09-02-2012
My Carrier: Mobilicity

Re: App rejected, but why?

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

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 375
Registered: ‎10-01-2009
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.

Please use plain text.