You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/16 20:56:19 UTC

[jira] [Resolved] (CB-500) Deviceready does not fire on Android 4.

     [ https://issues.apache.org/jira/browse/CB-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-500.
--------------------------

    Resolution: Duplicate

This is some kind of combination duplicate of CB-499 and CB-491 (using requirejs and zepto and issues with cordova-js).

And yeah, the example is way too complicated. It's not set up in a "compliant" way with Cordova. The cordova.js file isn't included as a top-level script tag in your HTML document - that is why this isn't working. Things like overriding document.addEventListener are not done at all until your script loader fills in cordova-js.
                
> Deviceready does not fire on Android 4.
> ---------------------------------------
>
>                 Key: CB-500
>                 URL: https://issues.apache.org/jira/browse/CB-500
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0
>         Environment: Android 4, Cordova 1.5
>            Reporter: Dewang Shah
>            Assignee: Filip Maj
>         Attachments: Co-Ba-Re.tar.gz
>
>
> The deviceready event does not fire when used with the Android 4. It works fine with 2.3 but not with 4.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira