[ 
https://issues.apache.org/jira/browse/CB-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679037#comment-13679037
 ] 

Ramki G commented on CB-3387:
-----------------------------

Starting app with the following query string fixed the issue for me:
 ?enableripple=cordova-2.0.0

Example url: http://localhost/work/myApp/www/?enableripple=cordova-2.0.0

======
Although deviceready event is fired, you might still see logs stating that the 
event is not fired. This, I assume, is because the app scripts are loaded 
before the ripple extension's content-scripts do their job (they re-load app in 
an iframe). Cordova loaded in the parent page logs messages like these:

deviceready has not fired after 5 seconds. cordova.js:5613
Channel not fired: onCordovaConnectionReady cordova.js:5613
Channel not fired: onCordovaInfoReady 
======
                
> deviceready doesn't fire in Chrome Ripple
> -----------------------------------------
>
>                 Key: CB-3387
>                 URL: https://issues.apache.org/jira/browse/CB-3387
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.7.0
>         Environment: Ripple for Chrome
>            Reporter: Andy Van De Walle
>            Assignee: Filip Maj
>            Priority: Minor
>
> Applications with cordova 2.7 don't seem to work in Ripple (android is just 
> fine).  Following error message shows up:
> Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js:37
> GET http://localhost/workspace/Scan2Order/assets/www/config.xml 404 (Not 
> Found) ripple.js:50
> cordova :: Initialization Finished (Make it so.) ripple.js:37
> GET http://localhost/workspace/Scan2Order/assets/www/cordova_plugins.json 404 
> (Not Found) ripple.js:50
> Uncaught SyntaxError: Unexpected token < cordova.js:6816
> deviceready has not fired after 5 seconds. cordova.js:6672
> Channel not fired: onPluginsReady cordova.js:6665
> Channel not fired: onCordovaReady cordova.js:6665
> Channel not fired: onCordovaConnectionReady cordova.js:6665
> deviceready has not fired after 5 seconds. cordova.js:6672
> Channel not fired: onPluginsReady cordova.js:6665
> Channel not fired: onCordovaReady cordova.js:6665
> Channel not fired: onCordovaConnectionReady cordova.js:6665

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to