Testing on react-native 0.73.6 and 0.75.1 we have followed the steps mention in the docs.
import Zeroconf from 'react-native-zeroconf';
const zeroconf = new Zeroconf();
useEffect(() => {
zeroconf.publishService(
'_myservice._tcp',
'tcp',
'local.',
'MyService',
8004,
{},
);
}, []);
We used Discovery browser and Bonjour browser and seems like the service is not being published.
Testing on react-native 0.73.6 and 0.75.1 we have followed the steps mention in the docs.
We used Discovery browser and Bonjour browser and seems like the service is not being published.