mosaicnetworks / babble-android

Babble android library
MIT License
8 stars 1 forks source link

Can't see advertised groups on some devices #27

Closed joneskm closed 4 years ago

joneskm commented 4 years ago

On some devices the NsdServiceInfo.getAttributes() method returns an empty map. This map should contain the mDNS TXT record.

Error was reproduced on Samsung A3 running Android 6.0.1 and Samsung Galaxy s5 running 6.0.1

This is a known issue on pre Android 7 devices, see this, which according to the link, will not be fixed.

jonknight73 commented 4 years ago

Fallback to use this?

https://github.com/youviewtv/tinydnssd

jonknight73 commented 4 years ago

Fixing in issue-27 branch. 8c61ef927f6483cb75b7fce32b876ac9a1c7cddf

joneskm commented 4 years ago

Pull request to fix issue accepted