Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6.0
-
None
-
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