-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to STOP it? #33
Comments
So guys to sum up: |
I have exactly the same issue. Have you found any solution? |
Same here. Did you find any solution? |
problem still exists, anyone? |
this worked for me. |
more explanation please? |
At least provide an explanation! |
So guys, i'm a bit desperate here: i'm using it together with react-native-webrtc. The problem is i need to stop it when i swipe the app from the multitasking. On android <= 7 it stops. On higher androids it just keeps going forever. I tried forking the package and implementing the
onTaskRemoved()
. I triedonDestroy()
. I tried declaringandroid:stopWithTask="true"
.What i achieved is service being "stopped", notification removed, but the darn stream is still going. So no notification, no clue app is running or something, but the webrtc stream is still perfectly fine. This drives me crazy, any thoughts what i can do?
Without react-native-foreground-service at all the whole thing is closing naturally when i kill the app obviously.
The text was updated successfully, but these errors were encountered: