Updating Ionic Native Plugins problems

When using cordova-plugin-advanced-http and @ionic-native/http it works great on mobile apps (via capacitor), but on website/electron I get an error. On web it fails as there is no cordova object on window. Electron says:

Native: tried calling HTTP.get, but the HTTP plugin is not installed.
Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http'

So I am using Capacitor, but not Ionic Framework, so the suggestion is odd and goes against the Capacitor instructions:

https://capacitor.ionicframework.com/docs/cordova/using-cordova-plugins/

Where it says (but I am substituting the example names with the ones I used):

npm install @ionic-native/http
npm install cordova-plugin-advanced-http
npx cap sync

This seemed to work just fine on iOS. But failed as described above. So at this point I install cordova and ionic cli tools. So I can follow their instructions:

npm install -g cordova ionic
ionic integrations enable cordova --add
ionic cordova plugin add cordova-plugin-advanced-http

This added a lot of files to the project, but did not fix the issue at hand. So now what do I do?

Cordova plugin support is only available for iOS and Android, not for web/electron.
Subscribe this issue if you want to get notified once it gets implemented