cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Carlsson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8251) InAppBrowser open/close popup window
Date Tue, 06 Jan 2015 12:07:34 GMT
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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message