cordova-plugin-android-permissions icon indicating copy to clipboard operation
cordova-plugin-android-permissions copied to clipboard

requestPermissions not working for Camera

Open gerardoemr opened this issue 4 years ago • 0 comments

I have the following code in my project:

this.androidPermissions.requestPermissions(
        [
          this.androidPermissions.PERMISSION.CAMERA, 
          this.androidPermissions.PERMISSION.READ_EXTERNAL_STORAGE, 
          this.androidPermissions.PERMISSION.WRITE_EXTERNAL_STORAGE
        ]
      );

Which is in the app.component.ts file. The permissions were requested on app initialization.

Now the app only requests storage permissions but not anymore for camera. No error is shown on console.

gerardoemr avatar Feb 23 '21 01:02 gerardoemr