Open Mikilll94 opened 4 years ago
This plugin allows you to save photos to external folders. Thus, storage permission is required on android.
@IngweLand But I don't want to save photos to external folder in the device. I want just to retrieve a photo and use it in my app.
When calling
TakePhotoAsync()
on Android Marshmallow or higher the system requests two permission: camera access and storage. Why this plugin requests for the storage permission? Storage permission is completely unnecessary when taking photos. Just the camera permission should be sufficient.Bug Information
Version Number of Plugin: 4.0.1.5 Device Tested On: Android devices Version of VS: 16.4.5 Version of Xamarin: 4.4.0.991640
Steps to reproduce the Behavior
TakePhotoAsync()
on Android Marshmallow or higher.Expected Behavior
When calling
TakePhotoAsync()
only the camera permission should be requested.Actual Behavior
When calling
TakePhotoAsync()
the camera and storage permissions are requested.Code snippet
Just call
TakePhotoAsync()
with any params on Android Marshmallow or higher.