incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-299) cordova.js should allow for registering plugins as required before deviceready fires
Date Mon, 05 Mar 2012 23:25:58 GMT
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: Filip Maj
             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

        

Mime
View raw message