Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Camera plugin issue about photolibrary

$
0
0

I'm having an issue about select photolibrary from android OS, it will caused me same images but it's works for IOS. Please help me on this, i'm keep stucked on this. Below is my option for

options = {
quality: 50,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
encodingType: Camera.EncodingType.JPEG,
allowEdit: true,
correctOrientation:true
};

$cordovaCamera.getPicture(options).then(function(imageData) {
newImg = imageData;
}

$scope[imageHolder] = newImg;


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>