Is it possible to use the plugin to start a Foreground Service? #415
Unanswered
ComptonAlvaro
asked this question in
Q&A
Replies: 1 comment
-
@ComptonAlvaro At the moment, the plugin does not support creating foreground service. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To start a foreground service, I need to use notification. I will call this standard notification, to diferentiate from the notifications from this plugin. The code is this:
The problem is that if I use the standar notification and later I want to use this plugin, I have two notifications in the status bar. The first one is the standar notification that I can't close and the second one is the notification of this plugin.
If I use always the standard notification, I have only only one notification in the status bar, so for me is better because I don't use a lot of space from the notifications place.
So in sumary, I would like to know if it is possible to use this plugin to start the foreground service and to have only only one notification in the status bar.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions