I just noticed that when creating a Ionic app, the cordova.js file which is loaded is a fake one (no content inside).
What is the purpose of doing that? Why the real Cordova isn’t loaded?
The problem I have with this: I’m using a Barcode Scanner plugin, but when I’m writing
cordova.plugins.barcodeScanner.scan(... of course I get a
ReferenceError: cordova is not defined