capacitor-file-picker is not obeying permissions settings of photo library #235
venna-kalyani
started this conversation in
General
Replies: 1 comment
-
For now, this is not planned. As already written via email, the Capacitor File Picker plugin uses the PHPickerViewController, which does not require any permissions and therefore is not affected by this setting (see here). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We came across a scenario and verified, Filepicker.pickMedia() method is not returning photos based on photos permission that the user has selected (ex: limited access - expecting to return only limited selected photos)
So we are looking for alternative and using Camera.pickLimitedLibraryPhotos() method, when user having limited access permission, while using we get the below output
[{"path":"file:///private/var/mobile/Containers/Data/Application/5A9905CD-7B18-4113-88C7-FC22E13A8ED6/tmp/photo-1.jpg","webPath":"capacitor://localhost:8080/capacitor_file/private/var/mobile/Containers/Data/Application/5A9905CD-7B18-4113-88C7-FC22E13A8ED6/tmp/photo-1.jpg","format":”jpeg”}]
We need the actual file name here for further handling. Any way to get that actual file name here.?
Either way let me know how we can achieve this.
"@capacitor/camera": "^4.1.5",
"@capawesome/capacitor-file-picker": "^0.6.3",
As we have plan to move to production in couple of weeks we need this for further handling.
Is there any plan to handle this permission(limited selection) based photos selection in future as part of capacitor-file-picker, let us know.
Beta Was this translation helpful? Give feedback.
All reactions