ekasetiawans / flutter_background_service

269 stars 192 forks source link

App will be crash during running on background. #227

Open yalgenisys opened 2 years ago

yalgenisys commented 2 years ago

i am using latest version of your package.it's not working properly during app is running on background and after terminated app and show this type of error

Not allowed to start service Intent { cmp=com.example.demo.dev/id.flutter.flutter_background_service.BackgroundService }: app is in background uid UidRecord{9bccc2e u0a122 RCVR idle change:uncached procs:1 seq(0,0,0)}

saigopin commented 2 years ago

any help can you provide @ekasetiawans ?

ekasetiawans commented 2 years ago

any help can you provide @ekasetiawans ?

I can't reproduce in android emulator with android 12 image. Unfortunately, I don't own an android devices so, I can't make a test on real device.

saigopin commented 2 years ago

Okay thank you @ekasetiawans

besteFinanzen commented 2 years ago

I am getting the same Error, but it only shows up on Android 8 (Emulator or Real Device). It would be great to fix this bug, because it causes my app to crash one in ten times. 😁

If you need some extra information, feel free to ask.

Not allowed to start service Intent { cmp=com.example.demo.dev/id.flutter.flutter_background_service.BackgroundService }: app is in background uid UidRecord{9bccc2e u0a122 RCVR idle change:uncached procs:1 seq(0,0,0)}

besteFinanzen commented 2 years ago

only shows up on Android 8

Ohh, now I get the error also on a Andriod 11 Device... Any ideas @ekasetiawans?

philos3 commented 2 years ago

any updates

razfazz commented 1 year ago

i guess this issue can be linked to this one https://github.com/ekasetiawans/flutter_background_service/issues/259