Path for the file on browser is not attainable?


#1

Hello Team,

getImageGallery() {
let options = {
quality: 100,
destinationType: 0,
sourceType: 2,
encodingType: 1,
mediaType: 2,
correctOrientation: true,
saveToPhotoAlbum: true,
targetWidth: 700,
targetHeight: 700
};
this.imageOption(options);
}

Media type: 2 or Media type: 0 is not giving me the path of the file in the browser. in both the cases i am only receiving the byte stream.

I have tried file chooser which is not working properly for android. Also if you can guide me through a genuine way to find out the path of the file which is working.

It requires your urgent guidance.
Thank you.