since some days I get the error:
Code: Select all
Fetching plugin "cordova-plugin-device" via npm
Installing "cordova-plugin-device" for android
Error: code: engine.platform or engine.scriptSrc is not defined in
custom engine "cordova-electron" from plugin
"cordova-plugin-device" for android warn
With commenting out every DeviceInfo(*) call, I can compile an Android app, but then I don't get any information of the running system, the systems uuid etc. Some information I can get from the "browser" agent text using platform.* in javascript, but not all I need.
It looks, like there is a new version 2.1.0 of cordova-plugin-device from 6 days ago, after 3 years of version 2.0.3.
Any help or idea? Can I force cordova to use older plugin?
Regards, hoerbie