Image is not showing after fetching using the Camera Native in Ionic 4Not able to convert the base64 to image path in Ionic 4ngCordova camera works on emulator but not on deviceIonic button showing 'ion-button' is not a known elementFILE_URI path for Camera not working on IONIC 4Photos are not showing Ionic 3How to run native camera using ionic devappIonic cordova camera is not availableModal box not showing in ionic 4Ionic Native HTTP client (@ionic-native/http) not working when importingBackground image is not showing Ionic 4ionic 4 flashlight native plugin not working

Fitting a mixture of two normal distributions for a data set?

Layout of complex table

Does the UK have a written constitution?

Singing along to guitar chords (harmony)

How well known and how commonly used was Huffman coding in 1979?

Why is C++ initial allocation so much larger than C's?

Does squid ink pasta bleed?

Do equal angles necessarily mean a polygon is regular?

Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?

Averting Real Women Don’t Wear Dresses

Why is Madam Hooch not a professor?

First-year PhD giving a talk among well-established researchers in the field

Calculating the partial sum of a expl3 sequence

How to positively portray high and mighty characters?

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

Simple object validator with a new API

How should I behave to assure my friends that I am not after their money?

"It will become the talk of Paris" - translation into French

Mount a folder with a space on Linux

Is it OK to bottle condition using previously contaminated bottles?

How many satellites can stay in a Lagrange point?

How can I convince my reader that I will not use a certain trope?

Why does the numerical solution of an ODE move away from an unstable equilibrium?

Does image quality of the lens affect "focus and recompose" technique?



Image is not showing after fetching using the Camera Native in Ionic 4


Not able to convert the base64 to image path in Ionic 4ngCordova camera works on emulator but not on deviceIonic button showing 'ion-button' is not a known elementFILE_URI path for Camera not working on IONIC 4Photos are not showing Ionic 3How to run native camera using ionic devappIonic cordova camera is not availableModal box not showing in ionic 4Ionic Native HTTP client (@ionic-native/http) not working when importingBackground image is not showing Ionic 4ionic 4 flashlight native plugin not working






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am working on Ionic 4 app and I have used the Camera Native plugin for showing the image but the image is not showing.



This is my editprofile.page.html:



<img src=" imagepic " />


This is my editprofile.page.ts:



imagepic: any;
imageuserchoose(sourceType)

const options: CameraOptions =
quality: 100,
sourceType: sourceType,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
saveToPhotoAlbum: true,
correctOrientation: true,
allowEdit: true,


this.camera.getPicture(options).then((imageData) =>

let base64Image = 'data:image/jpeg;base64,' + imageData;

this.userdetailsedit.patchValue(
profile_pic: base64Image,
);
this.imagepic = 'data:image/jpeg;base64,' + imageData;
, (err) =>
// Handle error
);

async presentActionSheet()
const actionSheet = await this.actionSheetController.create(
header: 'Select Image Source',
buttons: [
text: 'Choose From Gallery',
icon: 'images',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.PHOTOLIBRARY);

,

text: 'Use Camera',
icon: 'camera',
cssClass: 'myActionSheetBtnStyle',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.CAMERA);

,
text: 'Cancel',
role: 'cancel'
]
);
await actionSheet.present();



The problem is that, I am not able to show the image in the html because it is showing the error.



This is the code that is coming to the html:



<img _ngcontent-c4="" src="unsafe:data:image/jpeg;base64,file:///storage/emulated/0/Android/data/com.rflchallenges/cache/1553506541065.jpg">


Error:




Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME




Any help is much appreciated.










share|improve this question
























  • Are you selecting images from gallery ?

    – Sudarshana Dayananda
    Mar 25 at 10:38











  • @SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

    – Raghav
    Mar 25 at 10:40











  • @SudarshanaDayananda. Can you help me in this?

    – Raghav
    Mar 25 at 10:42











  • Did you try changing sourceType to PHOTOLIBRARY ?

    – Sudarshana Dayananda
    Mar 25 at 10:43











  • @SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

    – Raghav
    Mar 25 at 10:45


















1















I am working on Ionic 4 app and I have used the Camera Native plugin for showing the image but the image is not showing.



This is my editprofile.page.html:



<img src=" imagepic " />


This is my editprofile.page.ts:



imagepic: any;
imageuserchoose(sourceType)

const options: CameraOptions =
quality: 100,
sourceType: sourceType,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
saveToPhotoAlbum: true,
correctOrientation: true,
allowEdit: true,


this.camera.getPicture(options).then((imageData) =>

let base64Image = 'data:image/jpeg;base64,' + imageData;

this.userdetailsedit.patchValue(
profile_pic: base64Image,
);
this.imagepic = 'data:image/jpeg;base64,' + imageData;
, (err) =>
// Handle error
);

async presentActionSheet()
const actionSheet = await this.actionSheetController.create(
header: 'Select Image Source',
buttons: [
text: 'Choose From Gallery',
icon: 'images',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.PHOTOLIBRARY);

,

text: 'Use Camera',
icon: 'camera',
cssClass: 'myActionSheetBtnStyle',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.CAMERA);

,
text: 'Cancel',
role: 'cancel'
]
);
await actionSheet.present();



The problem is that, I am not able to show the image in the html because it is showing the error.



This is the code that is coming to the html:



<img _ngcontent-c4="" src="unsafe:data:image/jpeg;base64,file:///storage/emulated/0/Android/data/com.rflchallenges/cache/1553506541065.jpg">


Error:




Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME




Any help is much appreciated.










share|improve this question
























  • Are you selecting images from gallery ?

    – Sudarshana Dayananda
    Mar 25 at 10:38











  • @SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

    – Raghav
    Mar 25 at 10:40











  • @SudarshanaDayananda. Can you help me in this?

    – Raghav
    Mar 25 at 10:42











  • Did you try changing sourceType to PHOTOLIBRARY ?

    – Sudarshana Dayananda
    Mar 25 at 10:43











  • @SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

    – Raghav
    Mar 25 at 10:45














1












1








1








I am working on Ionic 4 app and I have used the Camera Native plugin for showing the image but the image is not showing.



This is my editprofile.page.html:



<img src=" imagepic " />


This is my editprofile.page.ts:



imagepic: any;
imageuserchoose(sourceType)

const options: CameraOptions =
quality: 100,
sourceType: sourceType,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
saveToPhotoAlbum: true,
correctOrientation: true,
allowEdit: true,


this.camera.getPicture(options).then((imageData) =>

let base64Image = 'data:image/jpeg;base64,' + imageData;

this.userdetailsedit.patchValue(
profile_pic: base64Image,
);
this.imagepic = 'data:image/jpeg;base64,' + imageData;
, (err) =>
// Handle error
);

async presentActionSheet()
const actionSheet = await this.actionSheetController.create(
header: 'Select Image Source',
buttons: [
text: 'Choose From Gallery',
icon: 'images',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.PHOTOLIBRARY);

,

text: 'Use Camera',
icon: 'camera',
cssClass: 'myActionSheetBtnStyle',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.CAMERA);

,
text: 'Cancel',
role: 'cancel'
]
);
await actionSheet.present();



The problem is that, I am not able to show the image in the html because it is showing the error.



This is the code that is coming to the html:



<img _ngcontent-c4="" src="unsafe:data:image/jpeg;base64,file:///storage/emulated/0/Android/data/com.rflchallenges/cache/1553506541065.jpg">


Error:




Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME




Any help is much appreciated.










share|improve this question
















I am working on Ionic 4 app and I have used the Camera Native plugin for showing the image but the image is not showing.



This is my editprofile.page.html:



<img src=" imagepic " />


This is my editprofile.page.ts:



imagepic: any;
imageuserchoose(sourceType)

const options: CameraOptions =
quality: 100,
sourceType: sourceType,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
saveToPhotoAlbum: true,
correctOrientation: true,
allowEdit: true,


this.camera.getPicture(options).then((imageData) =>

let base64Image = 'data:image/jpeg;base64,' + imageData;

this.userdetailsedit.patchValue(
profile_pic: base64Image,
);
this.imagepic = 'data:image/jpeg;base64,' + imageData;
, (err) =>
// Handle error
);

async presentActionSheet()
const actionSheet = await this.actionSheetController.create(
header: 'Select Image Source',
buttons: [
text: 'Choose From Gallery',
icon: 'images',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.PHOTOLIBRARY);

,

text: 'Use Camera',
icon: 'camera',
cssClass: 'myActionSheetBtnStyle',
handler: () =>
this.imageuserchoose(this.camera.PictureSourceType.CAMERA);

,
text: 'Cancel',
role: 'cancel'
]
);
await actionSheet.present();



The problem is that, I am not able to show the image in the html because it is showing the error.



This is the code that is coming to the html:



<img _ngcontent-c4="" src="unsafe:data:image/jpeg;base64,file:///storage/emulated/0/Android/data/com.rflchallenges/cache/1553506541065.jpg">


Error:




Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME




Any help is much appreciated.







ionic-framework ionic4






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 10:47







Raghav

















asked Mar 25 at 9:46









RaghavRaghav

5542 gold badges3 silver badges26 bronze badges




5542 gold badges3 silver badges26 bronze badges












  • Are you selecting images from gallery ?

    – Sudarshana Dayananda
    Mar 25 at 10:38











  • @SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

    – Raghav
    Mar 25 at 10:40











  • @SudarshanaDayananda. Can you help me in this?

    – Raghav
    Mar 25 at 10:42











  • Did you try changing sourceType to PHOTOLIBRARY ?

    – Sudarshana Dayananda
    Mar 25 at 10:43











  • @SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

    – Raghav
    Mar 25 at 10:45


















  • Are you selecting images from gallery ?

    – Sudarshana Dayananda
    Mar 25 at 10:38











  • @SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

    – Raghav
    Mar 25 at 10:40











  • @SudarshanaDayananda. Can you help me in this?

    – Raghav
    Mar 25 at 10:42











  • Did you try changing sourceType to PHOTOLIBRARY ?

    – Sudarshana Dayananda
    Mar 25 at 10:43











  • @SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

    – Raghav
    Mar 25 at 10:45

















Are you selecting images from gallery ?

– Sudarshana Dayananda
Mar 25 at 10:38





Are you selecting images from gallery ?

– Sudarshana Dayananda
Mar 25 at 10:38













@SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

– Raghav
Mar 25 at 10:40





@SudarshanaDayananda .I am selecting the image form the gallery and camera but in both case image is not showing.

– Raghav
Mar 25 at 10:40













@SudarshanaDayananda. Can you help me in this?

– Raghav
Mar 25 at 10:42





@SudarshanaDayananda. Can you help me in this?

– Raghav
Mar 25 at 10:42













Did you try changing sourceType to PHOTOLIBRARY ?

– Sudarshana Dayananda
Mar 25 at 10:43





Did you try changing sourceType to PHOTOLIBRARY ?

– Sudarshana Dayananda
Mar 25 at 10:43













@SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

– Raghav
Mar 25 at 10:45






@SudarshanaDayananda. Yes and it is not showing the image. I have edited my code. Please Check.

– Raghav
Mar 25 at 10:45













1 Answer
1






active

oldest

votes


















1














If you want to load selected image to the img tag you can give a try using @ionic-native/file plugin.



You have to do two separate implementations by considering whether you are selecting image from gallery or take an image using camera.



constructor(private file: File) 

this.camera.getPicture(options).then((imageData) =>

if (sourceType === this.camera.PictureSourceType.PHOTOLIBRARY)

let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let index = filename.indexOf('?');
if (index > -1)

filename = filename.substring(0,index);

this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);

if (sourceType === this.camera.PictureSourceType.CAMERA)

let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);


, (err) =>

);


Try this one. Sometimes this will fix your issue.






share|improve this answer























  • Error: Property 'readAsDataURL' does not exist on type 'File'.

    – Raghav
    Mar 25 at 11:30











  • Did you install @ionic-native/file node module ?

    – Sudarshana Dayananda
    Mar 25 at 11:51











  • Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

    – Raghav
    Mar 25 at 11:58












  • Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

    – Sudarshana Dayananda
    Mar 25 at 12:02












  • @Raghav if this worked for you. mark the answer as correct answer.

    – Sudarshana Dayananda
    Mar 25 at 12:31













Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55335016%2fimage-is-not-showing-after-fetching-using-the-camera-native-in-ionic-4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














If you want to load selected image to the img tag you can give a try using @ionic-native/file plugin.



You have to do two separate implementations by considering whether you are selecting image from gallery or take an image using camera.



constructor(private file: File) 

this.camera.getPicture(options).then((imageData) =>

if (sourceType === this.camera.PictureSourceType.PHOTOLIBRARY)

let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let index = filename.indexOf('?');
if (index > -1)

filename = filename.substring(0,index);

this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);

if (sourceType === this.camera.PictureSourceType.CAMERA)

let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);


, (err) =>

);


Try this one. Sometimes this will fix your issue.






share|improve this answer























  • Error: Property 'readAsDataURL' does not exist on type 'File'.

    – Raghav
    Mar 25 at 11:30











  • Did you install @ionic-native/file node module ?

    – Sudarshana Dayananda
    Mar 25 at 11:51











  • Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

    – Raghav
    Mar 25 at 11:58












  • Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

    – Sudarshana Dayananda
    Mar 25 at 12:02












  • @Raghav if this worked for you. mark the answer as correct answer.

    – Sudarshana Dayananda
    Mar 25 at 12:31















1














If you want to load selected image to the img tag you can give a try using @ionic-native/file plugin.



You have to do two separate implementations by considering whether you are selecting image from gallery or take an image using camera.



constructor(private file: File) 

this.camera.getPicture(options).then((imageData) =>

if (sourceType === this.camera.PictureSourceType.PHOTOLIBRARY)

let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let index = filename.indexOf('?');
if (index > -1)

filename = filename.substring(0,index);

this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);

if (sourceType === this.camera.PictureSourceType.CAMERA)

let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);


, (err) =>

);


Try this one. Sometimes this will fix your issue.






share|improve this answer























  • Error: Property 'readAsDataURL' does not exist on type 'File'.

    – Raghav
    Mar 25 at 11:30











  • Did you install @ionic-native/file node module ?

    – Sudarshana Dayananda
    Mar 25 at 11:51











  • Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

    – Raghav
    Mar 25 at 11:58












  • Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

    – Sudarshana Dayananda
    Mar 25 at 12:02












  • @Raghav if this worked for you. mark the answer as correct answer.

    – Sudarshana Dayananda
    Mar 25 at 12:31













1












1








1







If you want to load selected image to the img tag you can give a try using @ionic-native/file plugin.



You have to do two separate implementations by considering whether you are selecting image from gallery or take an image using camera.



constructor(private file: File) 

this.camera.getPicture(options).then((imageData) =>

if (sourceType === this.camera.PictureSourceType.PHOTOLIBRARY)

let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let index = filename.indexOf('?');
if (index > -1)

filename = filename.substring(0,index);

this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);

if (sourceType === this.camera.PictureSourceType.CAMERA)

let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);


, (err) =>

);


Try this one. Sometimes this will fix your issue.






share|improve this answer













If you want to load selected image to the img tag you can give a try using @ionic-native/file plugin.



You have to do two separate implementations by considering whether you are selecting image from gallery or take an image using camera.



constructor(private file: File) 

this.camera.getPicture(options).then((imageData) =>

if (sourceType === this.camera.PictureSourceType.PHOTOLIBRARY)

let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let index = filename.indexOf('?');
if (index > -1)

filename = filename.substring(0,index);

this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);

if (sourceType === this.camera.PictureSourceType.CAMERA)

let filename = imageData.substring(imageData.lastIndexOf('/') + 1);
let path = imageData.substring(0, imageData.lastIndexOf('/') + 1);
this.file.readAsDataURL(path, filename).then(data =>

this.imagepic = data;
);


, (err) =>

);


Try this one. Sometimes this will fix your issue.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 11:18









Sudarshana DayanandaSudarshana Dayananda

2,3472 gold badges7 silver badges24 bronze badges




2,3472 gold badges7 silver badges24 bronze badges












  • Error: Property 'readAsDataURL' does not exist on type 'File'.

    – Raghav
    Mar 25 at 11:30











  • Did you install @ionic-native/file node module ?

    – Sudarshana Dayananda
    Mar 25 at 11:51











  • Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

    – Raghav
    Mar 25 at 11:58












  • Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

    – Sudarshana Dayananda
    Mar 25 at 12:02












  • @Raghav if this worked for you. mark the answer as correct answer.

    – Sudarshana Dayananda
    Mar 25 at 12:31

















  • Error: Property 'readAsDataURL' does not exist on type 'File'.

    – Raghav
    Mar 25 at 11:30











  • Did you install @ionic-native/file node module ?

    – Sudarshana Dayananda
    Mar 25 at 11:51











  • Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

    – Raghav
    Mar 25 at 11:58












  • Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

    – Sudarshana Dayananda
    Mar 25 at 12:02












  • @Raghav if this worked for you. mark the answer as correct answer.

    – Sudarshana Dayananda
    Mar 25 at 12:31
















Error: Property 'readAsDataURL' does not exist on type 'File'.

– Raghav
Mar 25 at 11:30





Error: Property 'readAsDataURL' does not exist on type 'File'.

– Raghav
Mar 25 at 11:30













Did you install @ionic-native/file node module ?

– Sudarshana Dayananda
Mar 25 at 11:51





Did you install @ionic-native/file node module ?

– Sudarshana Dayananda
Mar 25 at 11:51













Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

– Raghav
Mar 25 at 11:58






Thank you it is working but why you said that sometimes it will work. It is working for both, the gallery and camera.

– Raghav
Mar 25 at 11:58














Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

– Sudarshana Dayananda
Mar 25 at 12:02






Every time this will works. I mean some times it will work for you. It depends on your luck bro..:-)

– Sudarshana Dayananda
Mar 25 at 12:02














@Raghav if this worked for you. mark the answer as correct answer.

– Sudarshana Dayananda
Mar 25 at 12:31





@Raghav if this worked for you. mark the answer as correct answer.

– Sudarshana Dayananda
Mar 25 at 12:31



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55335016%2fimage-is-not-showing-after-fetching-using-the-camera-native-in-ionic-4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript