You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Bryce Curtis (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/14 23:54:39 UTC

[jira] [Assigned] (CB-299) cordova.js should allow for registering plugins as required before deviceready fires

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

Bryce Curtis reassigned CB-299:
-------------------------------

    Assignee: Bryce Curtis  (was: Filip Maj)
    
> cordova.js should allow for registering plugins as required before deviceready fires
> ------------------------------------------------------------------------------------
>
>                 Key: CB-299
>                 URL: https://issues.apache.org/jira/browse/CB-299
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.5.0
>            Reporter: Filip Maj
>            Assignee: Bryce Curtis
>             Fix For: 1.6.0
>
>
> Cordova-JS employs an object called a channel which is a simple pub/sub implementation.
> Cordova as a whole defines many of these channels (e.g. nativeready, deviceinfoready, connectioninfoready) and uses them internally to make sure initialization and its timing is correct.
> For plugin authors, it may be desirable to:
> a) create a new channel for use with a plugin
> b) register the channel with cordova internals to make sure the channel for the plugin fires before cordova fires the deviceready event
> We should provide a helper for this.

--
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