Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: None
    • Component/s: cordova-ios

      Description

      Blob schemes won't load in iframes, even though blob:* is whitelisted.

      This is needed for special cases, like when using an epub reader (ePub.js), that downloads an epub, extracts it to a blob and displays it in an iframe.

      This currently works perfectly in cordova-android, but not in cordova-ios.

      I've debugged why it happens... the Whitelists says the scheme is allowed and the URL is allowed, but then

      [NSURLConnection canHandleRequest]
      

      returns false, thus cancelling the request. Hardcoding "blob" as an allowed scheme (like it's currently done with mailto, tel and sms) fixes this issue. I was about to put a pull request in github when I saw your contributing guidelines.

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              voliva Víctor Oliva Vidal
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: