Page 1 of 1

Error adding a cordova plugin

Posted: Sun Mar 15, 2026 12:38 pm
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