Trying to upgrade to capacitor 3.0 but encountered an error.
Manage to compile and working great on the web but got a blank screen on both iOs and Android. When inspecting the webview with DevTools, I can see an error : Capacitor.createEvent is not a function in fireWindowEvent
We maybe suspect it comes from capacitor-cordova-plugin but nothing sure (and we didn’t manage to remove the generation of those ones, if someone know how do to it ?)
From Android Studio console :
I/Capacitor/Console: File: http://192.168.1.13:3000/ - Line 331 - Msg: Error in Success callbackId: NetworkStatus1649682775 : TypeError: Capacitor.createEvent is not a function
From Chrome Dev Tools :
Uncaught TypeError: Capacitor.createEvent is not a function at Object.fireWindowEvent ((index):235) at Object.callbackFromNative ((index):332) at <anonymous>:1:9