DevApp - Channel not fired: onFileSystemPathsReady


#1

Is there a way to run Android under DevApp/Ionic View and have deviceready work?

I have been all over this forum and GIT bugs and Stack overflow

here is actual error from console.

[19:29:05]  console.log: deviceready has not fired after 5 seconds. 
[19:29:05]  console.log: Channel not fired: onFileSystemPathsReady 
[19:29:05]  console.warn: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an 
            inconsistent state. Try removing plugins from plugins/ and reinstalling them. 

i have updated all
tried all that is in

https://github.com/ionic-team/ionic-cli/issues/259


#2

Ok i found if i add the

--prod 

flag, this issue goes away, and I am able to view on Ionic View.

I adjusted my package.json

  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build --prod",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },


#3

This is not a solution. These are different ways to build. Development with livereload and console and Production build. Whatever … ionic still has this problem. Some times it loads immediately. But the most of development time it hangs on

deviceready has not fired after 5 seconds.
Channel not fired: onPluginsReady
Channel not fired: onCordovaReady
Channel not fired: onDOMContentLoaded

Sometimes only DOMContentLoaded.
I already set the timeout time in config xml loadUrlTimeoutValue to a huge value to avoid termination. The app is loaded after a minute or two. But this is horroble for development.

I still found no solution. Only useless words like “remove and re-add the plugins / platform”. Sorry guys. But this is the truth. :smiley: It never helps.


#4

I have had a similar issue and to resolve it, I amended index.html (in /src folder) and moved cordova.js after vendor.js .