[BUG] When I use the camera to take a picture, after I tap the confirm button, it asked me to authorize the photo library, it's ridiculous. I just want to use camera, no need to save it to my photo library.
Closed this issue · 2 comments
Copperfiled commented
Describe the bug
When I use the camera to take a picture, after I tap the confirm button, it asked me to authorize the photo library, it's ridiculous. I just want to use camera, no need to save it to my photo library.
How to reproduce
CameraPicker.pickFromCamera(
context,
pickerConfig: CameraPickerConfig()).then((value) {
print(value);
})
Steps to reproduce the behavior:
- Go to 'pickFromCamera'
- Click on 'take a picture'
- Scroll down to 'confirm' and deny to access the photo library.
- Got nothing.
Expected behavior
After I authorized the Camera, Even though I denied the photo library, I should take the picture anyway.
Version information
- Device: [iPhone X]
- OS: [iOS 17.0]
- Package Version: [4.0.2]
- Flutter Version: [3.13.x]
ioschangnan-github commented
iOS如果只给部分相册访问权限时,拍照或拍视频保存时会报错没有权限。
AlexV525 commented
Use onEntitySaving
to override the default behavior.