@WhidbeyFog wrote:
Does the Capacitor bridge support initiating a call from native to javascript?
My custom plugin will be generating json data that needs to be sent (pushed) to javascript on its own schedule.Cordova/Android used to support this with sendJavascript method in Java.
When sendJavascript got deprecated, Cordova recommended using their setKeepCallback(true) method as an alternative. I’ve tried it and it does work acceptably.Hoping that there is a way to accomplish this with Capacitor.
Posts: 1
Participants: 1