Just starting out? Need help? Post your questions and find answers here.
RBart
Posts: 25 Joined: Fri Jul 25, 2025 9:13 am
Location: Belgium
Post
by RBart » Sun Mar 15, 2026 12:38 pm
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
Fred
Site Admin
Posts: 1864 Joined: Mon Feb 24, 2014 10:51 am
Post
by Fred » Mon Mar 16, 2026 3:01 pm
Did you tried like this ?
Code: Select all
Import "cordova plugin add cordova-plugin-zeroconf"
EndImport
RBart
Posts: 25 Joined: Fri Jul 25, 2025 9:13 am
Location: Belgium
Post
by RBart » Tue Mar 17, 2026 12:43 pm
Fred wrote: Mon Mar 16, 2026 3:01 pm
Did you tried like this ?
Code: Select all
Import "cordova plugin add cordova-plugin-zeroconf"
EndImport
Yes!
Thanks again Fred
This did the trick!
And it's working on the Andoid tablet too.
With msdn on the rasberry whith the Mysql server should be plug and play in every LAN. If the Android tablet is on the same network it should detect it. Good solution to share data between different applications and devices whitin any network. Need the do some more tests, but looks fine.
Greetings
Rudi
Exploring the world of SpiderBasic