I installed the plugin using the following commands:- ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable
npm install --save
when i used the function:-
this.imagePicker.getPictures(options).then((results) => {
for (var i = 0; i < results.length; i++) {
console.log('Image URI: ’ + results[i]);
}
}, (err) => { console,log(err) } );
it gives the the following error
I add this plugin to app’s module after that import plugin in page and add it to constructor.
After that is use imagepicker into function same as the following link:-
i used the following commands:
ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable PHOTO_LIBRARY_USAGE_DESCRIPTION=“img upload”
npm install --save @ionic-native/image-picker