Closed
Description
Note : If you want/need this too, react to this comment so that it gets reviewed !
Request
It would be really useful to be able to specify a suiteName
in SharedPreferences' iOS implementation.
Usages
For example, if we want to create Widgets on iOS, the Widget uses a different NSUserDefaults environment than the main app, which makes it impossible to access the widget's settings from our Flutter App and back. Having the ability to specify a suiteName effectively allows us access a same App Group and thus persist data between the twos.
Here is a my PR solving this issue : flutter/plugins#2861
More
More resources on the issue : Stack overflow question treating about App Groups
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listNothing broken; request for a new capabilityA detailed proposal for a change to FlutterPlugin to read and write Shared Preferencesflutter/packages repository. See also p: labels.iOS applications specificallyOwned by iOS platform teamTriaged by iOS platform team