easy_localization
easy_localization copied to clipboard
I had a [getAll] error related to SharedPreference while using the package
I had to add `SharedPreferences.setMockInitialValues({});` before getting the instance of SharedPreference before it works.
It'd be fine if an update is made, fixing this.
Am getting the same issue but not sure why? Note: this error only happens with IOS
Using version 3.0.1
Easy_localization has a native dependency because it uses shared_preferences to store stuff. If you add easy_loclization to your project, you might need to restart the app and eventually run pod install, so the dependencies are loaded.
@IdrisAdeyemi01 @Lawati97 does this issue persist?