Prevent switching foreground mode on App focus/blur #140
Replies: 5 comments 3 replies
-
Can you share some logs? Sounds like a bug in general, although this might be intentional, IDK, there's a lot of history to this codebase... |
Beta Was this translation helpful? Give feedback.
-
I'll try to share some logs during the next days. |
Beta Was this translation helpful? Give feedback.
-
@HarelM the logs, |
Beta Was this translation helpful? Give feedback.
-
I don't see in the logs that the app changes the stratForeground state, what makes you say that this is the behavior? |
Beta Was this translation helpful? Give feedback.
-
I attached a video. There you can see that every time I minimize the app, the notification will appear. And when I maximize the app it will disappear again. My config looks like the following:
fore-background-bug.mp4 |
Beta Was this translation helpful? Give feedback.
-
Currently if I start the service with
startForeground: false
the plugin will switch automatically tostartForeground: true
once I minimize the app and switches back tostartForeground: false
if I maximize the app again. How can I disable this behavior?Beta Was this translation helpful? Give feedback.
All reactions