Should I be able to use Cordova plugins? I see no compilation errors, but when I run the app in an Android device, I see the ReferenceError: cordova is not defined in the app logs.
I did just that (npm install) at first, but for some reason the plugin wasn’t picked up in the Android project resulting in the reference error… Idk if this problem is specific to this plugin. As now I don’t have the time to try in a new and clean project.
Another note: I had problems (it couldn’t find the plugin’s default export) when I ran the project with Vite dev server, I had to add also: