@JaiKrish wrote:
I use
ionic-native
library to access the camera plugin with the following options:let options = { quality: 50, destinationType: 1, sourceType: 1, allowEdit: false, encodingType: 1, mediaType: 0, correctOrientation: true, saveToPhotoAlbum: false, cameraDirection: 1 };
After taking the picture, I get the
FILE_URI
asfile:///storage/emulated/0/Android/data/com.company.testApp/cache/1461661383435.png
But when I use it in thengSrc
property of theimg
tag, It just displays an empty block.
While inspecting with chrome, the request for the image has the status of(blocked:other)
Also I don't want to use
DATA_URL
, since it degrades the performance.
Posts: 1
Participants: 1