You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
Android
iOS
Windows
Steps to reproduce
Request await Permission.camera.status when running the app on web in Firefox, or
request: await Permission.camera.isGranted
Expected results
I expect to get the current permission status
Actual results
I get this error:
TypeError: 'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName
Code sample
Code sample
final status =awaitPermission.camera.status;
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
11.3.1
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.22631.3447], locale de-DE)[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)[√] Chrome - develop for the web[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.5)[√] Android Studio (version 2023.2)[√] Connected device (3 available)[√] Network resources
The text was updated successfully, but these errors were encountered:
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Request
await Permission.camera.status
when running the app on web in Firefox, orrequest:
await Permission.camera.isGranted
Expected results
I expect to get the current permission status
Actual results
I get this error:
Code sample
Code sample
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
11.3.1
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: