ionic-team / ionic-team/cordova-plugin-ionic-webview
[Android] deviceready has not fired after 5 seconds.
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
I'm using phonegap, When I start the app with "cordova-pluign-ionic-webview", i got this error:
deviceready has not fired after 5 seconds.
Step to reproduce:
1. Create a new Cordova project
2. cordova plugin add cordova-plugin-ionic-webview@latest
I start the app. All files are loaded (I guess that means that the plugin works ?) but device ready is not firing..
D/SystemWebChromeClient: http://localhost/cordova.js: Line 1233 : deviceready has not fired after 5 seconds.
I/chromium: [INFO:CONSOLE(1233)] "deviceready has not fired after 5 seconds.", source: http://localhost/cordova.js (1233)
D/SystemWebChromeClient: http://localhost/cordova.js: Line 1226 : Channel not fired: onCordovaInfoReady
I/chromium: [INFO:CONSOLE(1226)] "Channel not fired: onCordovaInfoReady", source: http://localhost/cordova.js (1226)
D/SystemWebChromeClient: http://localhost/cordova.js: Line 1226 : Channel not fired: onFileSystemPathsReady
I/chromium: [INFO:CONSOLE(1226)] "Channel not fired: onFileSystemPathsReady", source: http://localhost/cordova.js (1226)
D/SystemWebChromeClient: http://localhost/cordova.js: Line 1226 : Channel not fired: onCordovaConnectionReady
I/chromium: [INFO:CONSOLE(1226)] "Channel not fired: onCordovaConnectionReady", source: http://localhost/cordova.js (1226)
I've this error in the console (maybe the cause ?) :
E/CordovaBridge: gap_init called from restricted origin: http://localhost/
If I remove the plugin, everything works well. Any ideas ?
Thanks for your support !
Contributor guide
Assessment
This issue has not been assessed yet.