This plugin is a copy of the shared_preferences package but without the prefix in the keys. Is used to migrate the data from previous native app.
The issue is that flutter add a prefix to the keys when read and write. So we can not read our old keys.
Also for Android you can now specify name of your resource file in android/app/src/main/res/values/strings.xml:
Only use this plugin when is needed get the shared preferences from previous native app version. For other situation use the official shared preferences package.
To manage the migration use this package https://pub.dev/packages/version_migration/
Installation
Add in pubspec:
native_shared_preferences:^2.0.10
Usage
To use this plugin, add native_shared_preferences in your pubspec.yaml file