NsdManager never discover any services on Google Pixel 3 (Pie)

350 Views Asked by At

Same code works on Samsung S8 and Sony XZ, but not on Google Pixel 3.

I start the discovery with NsdManager with:

nsdManager.discoverServices("_test_service._tcp.", NsdManager.PROTOCOL_DNS_SD, discoveryListener)

The discoveryListener gives onDiscoveryStarted callback with same serviceType as specified. I sit on same wifi as my service, I wait and wait but no onServiceFound callback comes. The onServiceFound callback comes milliseoncds after starting discovery on Samsung S8 and Sony XZ.

Are there any known issues regarding the NsdManager for Google Pixel 3?

0

There are 0 best solutions below