Agreed. I don't think there's a reason, probably just overlooked. I'll file an issue and we can start figuring out how to do it in JIRA. I think the "Device Ready Channels array" object is in bootstrap.js - wire into that seems like a good first step.
On 3/5/12 12:40 PM, "Bryce Curtis" <[email protected]> wrote: >I noticed that support for plugins delaying deviceready until they have >initialized themselves is no longer in cordova-js. Does anyone remember >if >there a specific reason why this wasn't carried forward, or if there's >another solution? > >This is to support LocalStorage (cupcakeStorage) for some Android devices >that were missing it (not a large set of devices, if I recall). However, >without it, there will be an error if cupcakeStorage if called too soon - >like in the deviceready callback. It also seems like a feature that may >be >needed for other types of plugins. > >Regards, >Bryce
