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'm calling "requestPermissions()" right away before I take a picture. However when I take the first picture after I started the developement session, android presents me 2 confirm-dialogs (camera permissions) while in the background my app is already presenting me an error message that I have not the permissions to use the camera. Only at the second try, when the permissions are already given the photo can be captured.
The text was updated successfully, but these errors were encountered:
The requestPermissions() method returns a promise. You must wait for the promise to resolve before trying to take a picture. We will update the documentation to better explain this.
I'm calling "requestPermissions()" right away before I take a picture. However when I take the first picture after I started the developement session, android presents me 2 confirm-dialogs (camera permissions) while in the background my app is already presenting me an error message that I have not the permissions to use the camera. Only at the second try, when the permissions are already given the photo can be captured.
The text was updated successfully, but these errors were encountered: