Skip to content

Doc clarification: Delete the (which?) *corresponding* permission description in Info.plist? #1013

Closed

Description

@mw66

On

https://pub.dev/packages/permission_handler

Setup: iOS

From point 2, if I have

## dart: PermissionGroup.calendar
        'PERMISSION_EVENTS=1',

in Podfile,

Then in point 3, I need to delete the corresponding (???) NSCalendarsUsageDescription from Info.plist?

Is this conflict with the first sentence:

Add permission to your Info.plist file. Here's an example Info.plist with a complete list of all possible permissions.

(BTW, for iOS, the point 3 the camera permission example is confusing, I think it should continue just using the calendar permission example from point 2).

Activity

  1. mw66 commented on Mar 24, 2023

    @mw66
    Author

    I think the confusion is coming from the word corresponding: I think the true meaning is NOT corresponding to point 2, but corresponding to "when you don't need camera permission", later in the sentence.

    Maybe that sentence should re-write as:

    When you don't need a particular (e.g. camera) permission, then delete the corresponding permission description in Info.plist
    (e.g. delete NSCameraUsageDescription).

    Now the meaning of corresponding is clear: it's corresponding to the "When you don't need a particular (e.g. camera) permission"; but not corresponding to the previous point 2.

  2. changed the title [-]Doc clarification: Delete the corresponding permission description in Info.plist?[/-] [+]Doc clarification: Delete the (which?) *corresponding* permission description in Info.plist?[/+] on Mar 24, 2023
  3. added
    good first issue
    type: documentation
    P2
    on Jul 6, 2023
  4. JeroenWeener commented on Jul 6, 2023

    @JeroenWeener
    Contributor

    Thank you @mw66 for opening this issue and providing us with valuable feedback!

    Please feel free to contribute to this project by opening a PR with this documentation change.
    If not, we'll pick it up sometime in the future.

  5. AzazelSensei commented on Sep 4, 2026

    @AzazelSensei
    Contributor

    Opened #1560 — the CocoaPods setup now uses calendar for both the Podfile and Info.plist examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2good first issuetype: documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions