Cordova not available error


I upgraded my app to ionic 6 and everything is working perfectly except the native ionic plugins are not working and the console on the real device says: Cordova is not available, Make sure to include cordova.js

I wonder is this something related to my build configuration with voltbuild ?

Do you have the cordova.js line in your index.html?

<script src="cordova.js"></script>

See this in the docs.

That did the trick,

Thank you