wymsee / cordova-imagePicker

Cordova Plugin For Multiple Image Selection
MIT License
407 stars 853 forks source link

ionic android gets hang on passing options #272

Open AnkitMaheshwariIn opened 5 years ago

AnkitMaheshwariIn commented 5 years ago

When we pass outputType : 1 - it gets hang and sometime app restarted.

var options = { maximumImagesCount : 6, outputType : 1 } this.imagePicker.getPictures(options).then((results) => { for (var i = 0; i < results.length; i++) { console.log('Image URI: ' + results[i]); alert('Image URI: ' + results[i]); } self.uploadProductSetImages(results); }, (err) => { alert("Error in upload : " + err); });