You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the user may try to close the app by swiping it off the running apps list. However, this doesn't close the foreground process. Is there a way to remove the task in this scenario?
The text was updated successfully, but these errors were encountered:
@yoavrofe I have experienced the same problem. I tried solving it by using the AppLifecycleState - Observer and stop the service once the app lifecycle is disposed, as described here: https://www.youtube.com/watch?v=DqJ_KjFzL9I On app-closure, the stopService() - function is called as expected, but unfortunately the background task is still not stopped.
I attached here my (so far unsuccessful attempts with lifecycle observer).
@yoavrofe I think the solution is far more simple than expected! Browsing through the issue tracker, I found the following answer from the developers. link
Sometimes the user may try to close the app by swiping it off the running apps list. However, this doesn't close the foreground process. Is there a way to remove the task in this scenario?
The text was updated successfully, but these errors were encountered: