Create a new file called permissions_service. dart and in it, we will make a class that has an instance of PermissionHandler from the package. Then we can add a function that takes in a PermissionGroup to request permission of what we want.
Read moreHow do you handle permissions?
Finally, a clean way to deal with permissions in Android
Read moreHow do you handle permissions?
Finally, a clean way to deal with permissions in Android
Read moreHow do I add iOS permissions to flutter?
Here is the list of all permissions.
Read moreHow do I give permission to camera?
Change a site’s camera & microphone permissions
Read moreHow do I open the camera in WebView flutter?
To request permissions about the camera and microphone, you can use the permission_handler plugin . Also, it has the androidOnPermissionRequest event for Android, that is an event fired when the WebView is requesting permission to access the specified resources (that is the Android native WebChromeClient.
Read more