How is it possible that the SharedPreferences data is lost due to an app update on Flutter. After an update, some users reported that the data was no longer available.
After a lot of research, the only possible cause I could find was a change in the AndroidManifest (adding permission). -> [Link]
Is this possible and more importantly how can I avoid the error in the future?