You’re close, but its actually, if you want to use any plugins that relies on Cordova, such as the Camera, Contacts, Push Notifications etc, you need to use an actual device.
The reason being Cordova isn’t present in your web browser. It gets added in when you build for a specific platform.
Cordova is basically a way for an app to run in a web browser on your phone (Safari - IOS/ Chrome-Android) and still have access to the device functionality.
This can make debugging somewhat annoying so some work arounds are, check if you have Cordova, if not, then use something else. Like if you can’t use the Camera but need to test uploading an image, test using an image saved in your project. If you want to test listing out contacts, make some dummy contacts, etc.