Lars Carlsson created CB-8251:
---------------------------------

             Summary: InAppBrowser open/close popup window
                 Key: CB-8251
                 URL: https://issues.apache.org/jira/browse/CB-8251
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.5.0
         Environment: Android
            Reporter: Lars Carlsson


I can't get the Dropbox chooser to work with Cordova on android i get "unable 
to close window" i don't know if its window.open or window.close that aren't 
working correctly.

if you run this code you would get 

https://www.dropbox.com/s/l6m7ve3e68428mt/Screenshot_2015-01-04-09-37-28.png?dl=0

    onDeviceReady: function() {
        app.receivedEvent('deviceready');
        var ref = 
window.open("https://www.dropbox.com/developers/dropins/chooser/js";, '_blank', 
'location=yes');

The webview have settings.setJavaScriptCanOpenWindowsAutomatically(true);
there is a setting called setSupportMultipleWindows that is not enabled in the 
code don't know if that could help
Are there any good worke around for this really need the dropbox chooser in the 
app.

 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to