Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8251

Make Dropbox chooser work w/ InAppBrowser on Android

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              lars1595 Lars Carlsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: