react-native-zeroconf
react-native-zeroconf copied to clipboard
Discovery on Android emulator?
My React Native app does fine discovering my bonjour service on iOS simulator, iOS hardware, and Android hardware, but doesn't succeed with discovery on Android emulator. Is there some kind of a configuration thing I can do to get this to work on emulator, or is it a known limitation?
I'm running the emulator on macOS with Android Studio.
@jkoutavas try Genymotion's emulator, they have support for mDNS discovery using adb bridge
commands. It takes some tweaking to make it actually work, but it's possible. Best recommendation imo is to buy a simple android phone for testing.
Can't you use adb bridge on android emulator? @jkoutavas have you found a solution, I have the same issue...
I hhaven't seen a working example of NSD working on android. Here are some additional information for those who are curious https://developer.android.com/studio/run/emulator-networking