8000 [shared_preferences] Be able to specify the suiteName in SharedPreferences iOS · Issue #64739 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[shared_preferences] Be able to specify the suiteName in SharedPreferences iOS #64739
Closed
flutter/packages
#5210
@gaetschwartz

Description

@gaetschwartz

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

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: shared_preferencesPlugin to read and write Shared Preferencespackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0