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
permissions.requestPermission(permissions.CAMERA, success, error);
function error() {
console.warn('Camera permission is not turned on');
}
function success( status ) {
if( !status.hasPermission ) error();
}
Then it return Camera permission is not turned on.
I am just running on a blank demo Cordova app.
Any pointers?
Clark
The text was updated successfully, but these errors were encountered:
I am testing this on Android
Have the below in the config.
When i run the demo code
Then it return Camera permission is not turned on.
I am just running on a blank demo Cordova app.
Any pointers?
Clark
The text was updated successfully, but these errors were encountered: