"The object can not be found here" error when accessing camera


My client is occasionally getting an error when trying to access the camera or photo gallery that says “The object can not be found here.”

Usually if they close and re-open the app, it will work for a while, but then eventually stops working and I get this error recorded.

From what I have been able to gather, it looks like this is related to accessing the camera or photo gallery.

Any ideas what might be causing this and how to fix it?


If Your Using ionic 4 . Can you check it once.

Correct your import by adding /ngx like import {Camera} from '@ionic-native/camera/ngx';


It works like 95% of the time. I can get to the photo gallery and camera most of the time, but occasionally I get this error.

I’m not sure importing will fix the other 5%?