javascript - Invalid URI - Nativescript image-picker -


i attempting use nativescript image-picker plugin, when trying retrieve selected file's file uri receive following error:

error: java.lang.illegalargumentexception: invalid uri: content/images/media/1072602

has seen before? below code using pick images.

exports.pickimages = function(){     var context = imagepicker.create({         mode: "multiple"     });      context         .authorize()         .then(function() {             return context.present();         })         .then(function(selection) {             selection.foreach(function(selected) {                 console.log(selected['fileuri']);             });         }).catch(function (e) {             console.log(e);         }); } 


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -