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

InAppBrowser - Cannot open data URLs in system browser

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      iOS, Android

      Description

      I want to open data URLs in system browser. So I did this,

      window.open('data:text/html, <html><body><h1>Hello</h1></body></html>', '_system');
      

      But nothing happens (browser won't open).
      It works with normal URLs. e.g. window.open('https://github.com/apache/cordova-plugin-inappbrowser', '_system'); But not with data URIs.

      inappbrowser version: 1.7.1

      Please help.

        Attachments

          Activity

            People

            • Assignee:
              Nikita Matrosov Nikita Matrosov
              Reporter:
              smalwatte Sachitra Malwatte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: