nativescript-imagepicker icon indicating copy to clipboard operation
nativescript-imagepicker copied to clipboard

How can i select directly from Gallery rather than downloads

Open adekunle11 opened this issue 4 years ago • 0 comments

Hello, I added the plugin to my project and it works fine. But i can only select from Downloads directory, and i would like to select from Gallery like whatsapp does. I have tried changing var dl = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DOWNLOADS); to var dl = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES); in imagepicker.android.js, it didn't work

How can I do this? thanks

adekunle11 avatar Oct 29 '20 11:10 adekunle11