Cannot display camera

Hey everyone,

I am having a trouble when I try to use cordova camera plugin in my application.

Actually, I’ve tried to give permissions to the application using https://ionicframework.com/docs/native/android-permissions but this gives me Has permission? false and although I am trying to concede permissions, this is not working.

I’ve also installed cordova-camera-plugin, as I told you before, but debugging gives me:

vendor.js:85402 Native: tried calling Camera.getPicture, but the Camera plugin is not installed.
pluginWarn @ vendor.js:85402
vendor.js:85408 Install the Camera plugin: 'ionic cordova plugin add cordova-plugin-camera'

Although I’ve removed and added the platform again this is still not working.

Some help would be appreaciated.

Thanks in advance.

Is there a specific reason you’re not using the Capacitor camera instead of the Cordova one?

Yeah, it is. I’ve developed some plugins with cordova that I am using right now and I am confortable with Cordova for now.