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

Support for content:// URIs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • None
    • cordova-android
    • None
    • Android 4.3

    Description

      Device ready event is not fired if page is loaded via content:// protocol.
      I assume it has something to do with a security check done within CordovaBridge.java which triggers the following gap_init error message.

      10-09 10:10:18.071 16719 16719 E CordovaBridge: gap_init called from restricted origin: content://com.ionicframework.ionicapp795549.jsHybugger/file:///android_asset/www/index.html#/tab/dash
      10-09 10:10:23.075 16719 16719 D CordovaLog: content://com.ionicframework.ionicapp795549.jsHybugger/jshybugger.js: Line 112 : deviceready has not fired after 5 seconds.

      10-09 10:10:23.075 16719 16719 I Web Console: deviceready has not fired after 5 seconds. at content://com.ionicframework.ionicapp795549.jsHybugger/jshybugger.js:112

      Attachments

        Activity

          People

            iclelland Ian Clelland
            cyberflohr Wolfgang Flohr-Hochbichler
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: