flutter_foreground_task
flutter_foreground_task copied to clipboard
Shared preferences getting cleared on Foreground task stop service call
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.