-
-
Notifications
You must be signed in to change notification settings - Fork 869
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]: Unable to request camera or photo permissions on iOS 18.0.1 #1416
Comments
tonyliao273
changed the title
[Bug]: iOS 18.0.1 can't request for camera / photos permission
[Bug]: Unable to request camera or photo permissions on iOS 18.0.1
Dec 12, 2024
You could try the following way and see if it works. This work for me.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: