Open
Description
Hi, Im using this thread lib on the react facebook example app.
When I press the back button from the main screen of my app the app goes to background (terminates kind-of). Thats the default behavior as far as i know.
The problem is, when this happens, the onHostDestroy
method gets called. So the threads are terminated.
When I re-enter the app, nothing gets created, as the app is in a intermediate state, so the threads arent re-created. Instead a onHostResume
gets called.
For now i have fixed this by changing the onHostDestroy
method just to call onHostPause
. But i dont know if this is a good long term solution.
Oneplus 6 Android 8.1.0