-
-
Notifications
You must be signed in to change notification settings - Fork 895
[Bug]: Unable to request camera or photo permissions on iOS 18.0.1 #1416
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
Comments
You could try the following way and see if it works. This work for me.
|
@doasinfinity I copied yours in my Podfile, but it still doesn't have permission to apply for tips, and the returned value is PermanentlyDenied.Is there any other solution? |
For me these was the problem thanks I had the same problems. I added to info.plist the keys but forgot the pod files. |
thanks man , it work for camera this is my info.plist (iOS/Runner/info.plist)
this is my pods (iOS/Podfile)
|
Uh oh!
There was an error while loading. Please reload this page.
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
When requesting camera or photo permissions, nothing happens. Requesting them again still does nothing, but the following error appears in the log
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(ERROR_ALREADY_REQUESTING_PERMISSIONS, A request for permissions is already running, please wait for it to finish before doing another request (note that you can request multiple permissions at the same time)., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
#2 MethodChannelPermissionHandler.requestPermissions (package:permission_handler_platform_interface/src/method_channel/method_channel_permission_handler.dart:80:9)
#3 PermissionActions.request (package:permission_handler/permission_handler.dart:109:10)
Note:
Expected results
On iOS 18.0.1 devices, requesting camera or photo permissions will trigger the system permission UI or any callbacks.
Actual results
On iOS 18.0.1 devices, requesting camera or photo permissions does not trigger the system permission UI or any callbacks.
Code sample
Code sample
Screenshots or video
iOS 18.0.1
output.mp4
iOS 16.0
output2.mp4
Version
11.3.1
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: