Open rgustavsson opened 4 years ago
I have recently updated my environment to cordova cli 10.0.0, not sure if thats the reason, will try to downgrade
It's possible to install the plugin with Cordova CLI 8.0.0
oh my, and the popular firebasex plugin requires cordova 9 and above @CSantosM do you have any clue to why I get the "Could not determine package name from output:" error while installning? I'll try to find a workaround but appreciate all input I can get..
Hi @rgustavsson , try to clean your platforms and plugin and reinstall it. Maybe the plugins have something cached.
By the way, this plugin is only available in Android, for iOS it is unnecessary so you could remove it without problems.
Regards
Hello @CSantosM Yes I clean (delete) node_modules, platforms and plugins folders every time I build. In package.json the url to this plugin, git+https://github.com/OpenVidu/cordova-plugin-android-enumeratedevices.git gets rewritten to github:OpenVidu/cordova-plugin-android-enumeratedevices by either npm or cordova (guessing cordova) and so something may have changed in how packages from outside the npm registry are handled. I'm just guessing here since it's been working fine until now. A workaround is indeed to remove it when I build for iOS but then I need to remember to put it back so that I include it when I build for android.
I think this issue is related to what I am seeing: https://github.com/OpenVidu/cordova-plugin-android-enumeratedevices/issues/2
I guess I will have to continue to investigate cordova internals to understand why I am having these issues. Thanks for answering.
Okey so the issue was with npm 7+ I downgraded to 6.X and now the build works again :)
When I try to install this plugin I get this issue:
This is my ionic info