Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29445

Where to register and unregister receiver for headless JS in react-native?

$
0
0

I want to receive ACTION_USER_PRESENT for unlock event in background and also when the app is killed i.e when app is removed from recent apps.

If I use headless JS for background processing where should I register and unregister receiver. Also, where to define intent-filter so that it will always run in background and also when the app is killed.


Viewing all articles
Browse latest Browse all 29445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>