Skip to content

[shared_preferences] Address privacy manifest requirement #139758

Closed
flutter/packages
#5846

Description

@stuartmorgan-g

This plugin is listed on https://developer.apple.com/support/third-party-SDK-requirements/ as requiring a privacy manifest. We'll need to add a manifest that lists our required reason usage.

See #131940 and #131495 for context.

Activity

  1. added
    platform-iosiOS applications specifically
    p: shared_preferencesPlugin to read and write Shared Preferences
    packageflutter/packages repository. See also p: labels.
    P1High-priority issues at the top of the work list
    team-iosOwned by iOS platform team
    on Dec 7, 2023
  2. stuartmorgan-g commented on Dec 12, 2023

    @stuartmorgan-g
    ContributorAuthor

    Ideally we would use C56D.1 since that usage corresponds exactly to what we are doing, but since Apple considers the plugin to be its own SDK it doesn't quality for that due to:

    This reason may not be declared if your third-party SDK was created primarily to wrap required reason API(s).

    Currently the best option available for us is 1C8F.1

    Declare this reason to access user defaults to read and write information that is only accessible to the apps, app extensions, and App Clips that are members of the same App Group as the app itself.

    That applies right now, but if we add suiteName support we would need to figure out how to restrict it to the app group (maybe via name prefix checks?).

    We have reached out to see if there's a way to get to a point where we can use something more like C56D.1.

    (Another option is that we could, in theory, fold shared_preferences into the engine so that C56D.1 would be applicable, but that's a major change to make just for this.)

  3. github-actions commented on Jan 26, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listp: shared_preferencesPlugin to read and write Shared Preferencespackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions