I’m trying to port an ionic app and have it building and running, however in android emulator AND on device:
PushNotifications thinks it’s running in a browser - why could this be? This is the only code I’ve ported to use something from capacitor and I get “PushNotifications does not have web implementation”
various ionic native/cordova plugins are complaining that cordova doesn’t exist/is not available. I thought they were supposed to work but this could be the same issue as above?
I see an error early on: 'E/Capacitor/Console: File: capacitor-runtime.js - Line 24140 - Msg: Uncaught SyntaxError: Unexpected token :" - could this be the source of all the issues? I haven’t been able to find out anything more about this error
I’m using capacitor 2.2.0 - I don’t see these issues in a new basic app but I don’t know how best to go about fixing my existing one…
Appreciate any help!