Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added addresses dictionary with keys #170

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jerryseigle
Copy link
Contributor

Added addresses dictionary with keys.

returns the follow

"port": 52968,
  "addresses": [
    "127.0.0.1",
    "::1",
    "re20::1",
    "192.168.1.10",
    "fe82::fh9c:4a3R:fed2:79e1",
  ],
  "fullName": "the real full name._tcp.",
  "host": "the real local name.local.",
  "addressesDict": {
    "IPv4": "192.168.1.10",
    "IPv6": "fe82::fh9c:4a3R:fed2:79e1",
  },
  "txt": {},
  "name": "service name"
}

Would be nice if we could figure how to add Mac address and local address with keys to the addressesDict

Added development target to support React Native for macOS. react-native-zeroconf is compatible with React Native for macOS 10.13. We only need to include the development target
Included instructions to install for React Native for macOS
add function  addresses dictionary with keys. 
example:
"addressesDict" : { "IPv4": "168.192.1.10, "IPv6": "er:12::34er"}

would be nice if Mac address could be added
@jerryseigle
Copy link
Contributor Author

Just created an easy way to detect the type of address. Is this something you would consider merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant