Skip to content

[Bug]: permission_handler_apple has an incorrect privacy manifest #1292

Closed
@stuartmorgan-g

Description

@stuartmorgan-g

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Windows

Steps to reproduce

  1. Look at
    BOOL alreadyRequested = [[NSUserDefaults standardUserDefaults] boolForKey:UserDefaultPermissionRequestedKey]; // check if already requested the permantent permission
    and see the use of NSUserDefaults
  2. Look at https://github.com/Baseflow/flutter-permission-handler/blob/3be556e67d52f73b1c072ad2334cd9b64196737f/permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy and see the lack of corresponding required reason entry.

Any plugin that uses a required reason API needs to declare it.

(I have not done a comprehensive audit; there may be other missing required reason API declarations as well. I'm filing this as I find it.)

Expected results

Privacy manifest that includes explanations of all Required Reason APIs

Actual results

Missing declaration

Code sample

N/A

Screenshots or video

No response

Version

current master

Flutter Doctor output

N/A

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work list.platform: iosIssue is related to the iOS platformtype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions