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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 00:25:58 UTC

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

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

        

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

Posted by "Bryce Curtis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryce Curtis resolved CB-299.
-----------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=efdcd770398b6ce79be90c809c240d6afccafaa8
                
> 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

        

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

Posted by "Bryce Curtis (Assigned) (JIRA)" <ji...@apache.org>.
     [ 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