Ionic 5 - Camera

  1. I have installed (Ok)
    $ ionic cordova plugin add cordova-plugin-camera
    $ npm install @ionic-native/camera

  2. When adding the android platform (Error)
    $ ionic cordova platform add android
    Displays the message

Android project created with cordova-android@9.1.0
Installing “cordova-plugin-camera” for android
Plugin doesn’t support this project’s cordova-android version. cordova-android: 9.1.0, failed version requirement: >=10.0.0
Skipping ‘cordova-plugin-camera’ for android

How should I fix?

Hmmm…I would probably go with the Official Capacitor plugin here.