Error adding a cordova plugin

Just starting out? Need help? Post your questions and find answers here.
User avatar
RBart
Posts: 24
Joined: Fri Jul 25, 2025 9:13 am
Location: Belgium

Error adding a cordova plugin

Post by RBart »

Hi

In the documentation I found that 'import' will add a cordova plugin.

Code: Select all

;allow mDNS on android
Import "cordova plugin add @ionic-native/zeroconf"
EndImport
But I tryed serveral plugins and get an error:
Cannot find plugin.xml for plugin "zeroconf". Please try adding it again.

Is this just maybe the plugin is not available or are there other steps neccessary to add a plugin to the project?

Thanks in advance
Rudi
💻 Exploring the world of SpiderBasic :o