Open janburck opened 2 years ago
This happened to me too.
package.json:
{ "@ionic/angular": "^4.0.0","@ionic-native/core": "^5.36.0","@ionic-native/image-picker": "^5.36.0","cordova-plugin-telerik-imagepicker": "^2.3.6",}
Did you manage to figure out the reason, i just walked into the same issue... on the console log it says Image URI: O Image URI: K
But nothing is happening....
Hi there,
I followed the several tutorials and tried to implement an imagepicker. Unfortunately I was not yet successful. i.e.: https://www.positronx.io/ionic-angular-image-picker-integration-tutorial/ I always ended up with an app where nothing happens on 'getPictures' not even an error message. config.xml: `
package.json:
"@ionic/angular": "^6.0.0", "@ionic-native/core": "^5.36.0", "@ionic-native/image-picker": "^5.36.0",
in app.module I added the image picker in the provider section. This is my click action:
this.imagePicker.getPictures(this.options).then((res) => { console.log(res); for (let i = 0; i < res.length; i++) { this.imageObj.push("data:image/jpeg;base64," + res[i]); } }, (error) => { console.log(error); alert(error); });
I am using a real android device with android 11 and an emulator with SDK 30.
Any help is highly appreciated!
Thanks