cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Homer (JIRA)" <>
Subject [jira] [Created] (CB-11357) screen-orientation puts inappbrowser in background
Date Thu, 02 Jun 2016 04:26:59 GMT
Tony Homer created CB-11357:

             Summary: screen-orientation puts inappbrowser in background
                 Key: CB-11357
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Screen Orientation
    Affects Versions: 1.4.2
            Reporter: Tony Homer

Migrated from [Issue #99|]

from [lkounadis|]:
I have a problem when trying to use this plugin with inappbrowser plugin. 
The web app is originally set to portrait, and at some point I am trying to open an inAppBrowser
and unlock the screen orientation.

I have tried to open and set using the code bellow, but both cases put the inAppBrowser to
the background:

screen.unlockOrientation();, target, options);
OR, target, options);

The only way I have got it to work correctly is by setting the inappbrowser to open using
a timeout:

setTimeout(function(){, target, options);

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message