Baseflow / Baseflow/flutter-permission-handler

[Question]: Permission.audio is always permanentlyDenied on IOS

Open
#1,419 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
- [X] I have carefully [read the documentation](https://github.com/baseflow/flutter-permission-handler/blob/main/permission_handler/README.md).

### Please select for which platform(s) you need help

- [ ] Android
- [X] iOS
- [ ] Windows

### Your question

I am encountering an issue with requesting audio permission in my ios app. Even though I have added the required NSAppleMusicUsageDescription key to my Info.plist, the permission request is not working as expected. the request is always permanently denied. Additionally, I do not see any specific audio or media permission listed in the iOS settings for the app.

While researching this issue, I found mentions of kTCCServiceMedia and kTCCServiceMediaLibrary or by using the microphone permissions in documentation and online discussions. However that didn't work and it’s unclear if these are necessary for configuring media library permissions in Info.plist or elsewhere.

### Version

11.3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.