I’m using ViteJS now instead of WebPack to build my F7 VUE App but i get an error from the vendor js file on iOS saying this module can’t be found:
const pushwoosh = cordova.require(‘pushwoosh-cordova-plugin.PushNotification’);
All the plugins and Cordova are loaded correctly, does this have anything to do with Vite Maybe having and issue with requiring modules? The error comes from the vendor JS file generated by ViteJS
For me it doesn’t seem to be a Vite issue, cordova.require is handled by cordova, not Vite.
I would suggest at first double check the plugin installation docs Integrating Cordova Plugin - Pushwoosh
I got it working, i had to remove the app from the simulator in XCode, i guess it was a stupid cache issue. I have been trying to solve this issue for 2 days now