You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using tns 6.1.0 and testing on a physical android device (Galaxy S7, Android version 7.0).
When I use the plugin, it takes me directly to the Screenshots directory and I can select files from there, but if I navigate to any other folder, all files are grayed out and not accessible. One exception is the Camera folder, I can load files from there. I am trying to allow the user to pick any files from any folder.
Here is my code:
TS:
let context = imagepicker.create({
mode: "single" // use "multiple" for multiple selection
});
context
.authorize()
.then(function () {
return context.present();
})
.then(function (selection) {
selection.forEach(function (selected) {
// process the selected image
console.dir(selected);
});
}).catch(function (e) {
// process error
console.log(`error: ${e}`);
});
The text was updated successfully, but these errors were encountered:
tangerinegit
changed the title
I can only select files from the Screenshots directory
I can only select files from the Screenshots and Camera directories
Jan 30, 2020
Hello,
I am using tns 6.1.0 and testing on a physical android device (Galaxy S7, Android version 7.0).
When I use the plugin, it takes me directly to the Screenshots directory and I can select files from there, but if I navigate to any other folder, all files are grayed out and not accessible. One exception is the Camera folder, I can load files from there. I am trying to allow the user to pick any files from any folder.
Here is my code:
TS:
package.json
Am I missing something?
The text was updated successfully, but these errors were encountered: