flutter_foreground_task icon indicating copy to clipboard operation
flutter_foreground_task copied to clipboard

Shared preferences getting cleared on Foreground task stop service call

Open h2210316651 opened this issue 3 years ago • 0 comments

thank you @lukkob

I was not aware of this problem until now. I'm not familiar with UserDefaults(suiteName:), so I'll check the official documentation and merge the branch.

Thank you again :)

Originally posted by @Dev-hwang in https://github.com/Dev-hwang/flutter_foreground_task/pull/20#issuecomment-960485893

This problem still persists. Have you merged or resolved this bug yet? Coz whenever I stop the service shared preferences are still being cleared randomly at times. Happening on android as well.

h2210316651 avatar Aug 16 '22 05:08 h2210316651