capacitor-background-runner icon indicating copy to clipboard operation
capacitor-background-runner copied to clipboard

Trigger tasks from Android Broadcast Receivers

Open ahmafi opened this issue 1 year ago • 0 comments

Is it possible to trigger the background runner events from Android when we receive an Android broadcast event within a Broadcast Receiver?

For example, I want to do some login in JS when the user receives SMS and the app is in the background. Currently, I have a Broadcast Receiver written in native Android. But I don't know how to pass that event to my JS code.

ahmafi avatar Dec 29 '24 08:12 ahmafi