Skyost / Bonsoir

A Zeroconf library that allows you to discover network services and to broadcast your own. Based on Apple Bonjour and Android NSD.
http://bonsoir.skyost.eu/
Other
107 stars 49 forks source link

Attributes are empty #59

Closed pixelsnis closed 11 months ago

pixelsnis commented 11 months ago

Describe the bug The attributes for a discovered service are empty. When the broadcast is started, however, the attributes are available.

To Reproduce Steps to reproduce the behavior:

  1. Broadcast any service with attributes in it
  2. Discover on another device
  3. Try to access attributes of the discovered service, and print it; it will show as {}

Expected behavior Attributes should not be empty.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context This wasn't an issue back in older versions like ^1.0.1+2.

pixelsnis commented 11 months ago

Oversight on my end; I was using the found service and not the resolved service.