joltup / react-native-threads

Create new JS processes for CPU intensive work
MIT License
756 stars 142 forks source link

Webview as a worker #69

Open beshoo opened 5 years ago

beshoo commented 5 years ago

Dear all. I want to make an app which works onPuse mode. The app is a webview to run a website with injected javascript.

But onPuse will stop all app activity. Can this "react-native-threads" help while the phone is locked?

Traviskn commented 5 years ago

react-native-threads is paused when the app is put into the background, it will not solve the problem of continuing to run while your app is closed or paused

beshoo commented 5 years ago

So as a programmer what is your advice to do such?