cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon MacDonald <>
Subject Re: Is there a way to wait for another plugin to initialize
Date Tue, 21 Jun 2016 11:14:08 GMT
Whelp, most plugins have a success callback that is invoked when the
initialization is finished. You can start the second plugin from the
success of the first for a quick win.

Or you could create a custom event:

Or as you indicated you could use channels.

Simon Mac Donald

On Tue, Jun 21, 2016 at 2:39 AM, Philipp Kursawe <>

> I have a plugin that depends on another plugin being initialized first.
> Does cordova already provide a documented way of doing that through
> channels?
> Coming from OSGi I'm thinking of something non-blocking like Plugin B is
> only started if Plugin has been started.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message