Hi everyone! I have subscription with `debounce` I...
# reaktive
d
Hi everyone! I have subscription with
debounce
It works well on iOS, but on Android it doesn’t fire if app is in background near 15 min. There is some specific I should know ?
a
Hello. That's probably due to Android background restrictions. You can check official docs - https://developer.android.com/training/monitoring-device-state/doze-standby https://developer.android.com/about/versions/oreo/background
d
But what is happens with subscription in this case ? I expect when app comes to active state
debounce
should fire a next.
a
That's totally up to your code. The app's process can be killed when the app is in the background. When it's activated again, you have to resubscribe. If you want to run continuously in the background, then you have to use a background service.
d
thank you