Ionic + camera stream

Hi there,

i have a question about using the camera within the ionic framework.

I have a problem with creating a photo.

When i do a photo and click on “ok” then the app crashes with follow error message:

java.lang.RuntimeException: Unable to resume activity .... : java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, result=0, data=Intent {}}

My Code is as follow:

navigator.camera.getPicture(function(imageURI){
            alert("ok");
        }, function(err){
            alert("ERROR: " );
        });

Can someone tell me what i am doing wrong?

Bests,

Alex

1 Like

Did you find out the solution? I am also facing same issue in some of devices

Hi @karan101292,
well actually i removed the plugin and installed it again, then it worked.