michael-cheung-thebus / foreground_service

Other
43 stars 29 forks source link

Not staying in foreground #12

Open andzejsw opened 4 years ago

andzejsw commented 4 years ago

For me service isn't staying in Foreground after app close.

vov4ik08 commented 4 years ago

Fo me too, have you any idea ?

michael-cheung-thebus commented 4 years ago

@andzejsw @vov4ik08 Sorry for the late response - please try one of the newer releases (1.1.5+), and LMK if you still have still issue.

Tetsukick commented 4 years ago

@michael-cheung-thebus for me still same issue happen, when I killed app, the foreground service is also finished.

I use 'foreground_service: ^2.0.1+1' this version. and I set this parameter. but doesn't work.

await ForegroundService.setContinueRunningAfterAppKilled(true);

please let me know the solution.

pedrosimoespt commented 4 years ago

@michael-cheung-thebus for me still same issue happen, when I killed app, the foreground service is also finished.

I use 'foreground_service: ^2.0.1+1' this version. and I set this parameter. but doesn't work.

await ForegroundService.setContinueRunningAfterAppKilled(true);

please let me know the solution.

I also have this problem.

veyhong commented 4 years ago

Same here, seem like there is missing step for Add Permission and Service in AndroidManifest.