PhoneGap orientation portrait has no effect

Thread is closed for posting
2 posts, 0 answers
  1. Karl
    Karl avatar
    1 posts
    Member since:
    Mar 2015

    Posted 08 Jun 2015 Link to this post

    I've edited the IOS configuration, adding this line:

    <preference name="orientation" value="portrait" />

    When I run my application on an iPhone using the AppBuilder application, this configuration item is ignored.


    Is this setting ignored when the app is running inside AppBuilder on the iPhone?


    Thank you,





  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 09 Jun 2015 Link to this post

    Hello Karl,

    Indeed you cannot test device orientation limitations in the companion apps. This is due to the fact that these apps act as a container for the mobile project you built in AppBuilder letting you test and experience the UI of your project on a device. However, you have no control over the container application's device-specific settings such as orientation, splash screen, icon. You can find a list of all known limitations of the AppBuilder companion app in our documentation.

    In order to test the exact behavior of your application on a device, it is best to run and deploy the project directly on a device outside the companion app.

    Let me know if you have further questions on that matter.

    Tina Stancheva

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top