Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: iOS 18 CNAuthorizationStatusLimited results to PermissionStatusDenied instead of PermissionStatusLimited #1387

Open
3 of 5 tasks
tdesc opened this issue Sep 26, 2024 · 5 comments

Comments

@tdesc
Copy link

tdesc commented Sep 26, 2024

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Windows

Steps to reproduce

  1. On iOS 18 grant limited access to Contacts
  2. Request status from plugin

Expected results

get from plugin PermissionStatus.limited

Actual results

plugin resolved to PermissionStatus.denied

Code sample

Code sample
    final status = await Permission.contacts.status;
Fix for ContactPermissionStrategy: update switch case in permissionStatus
        case CNAuthorizationStatusLimited:
          return PermissionStatusLimited;

Screenshots or video

No response

Version

11.3.1

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 15.0 24A335 darwin-arm64
    (Rosetta), locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.93.1)
[✓] Network resources

• No issues found!
@SahharWithu
Copy link

same issue here with notification permission

@Huoran559
Copy link

Same issue with Permission.microphone, and even enabled in settings -> apps

@husainazkas
Copy link

same issue here

@saminsohag
Copy link

Same issue here.

@lurongshuang
Copy link

same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants