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

Hostname not returned (iOS 10.2) #4

Open
coatezy opened this issue Jan 5, 2017 · 2 comments
Open

Hostname not returned (iOS 10.2) #4

coatezy opened this issue Jan 5, 2017 · 2 comments

Comments

@coatezy
Copy link

coatezy commented Jan 5, 2017

Hi,

I just installed for the first time using CocoaPods and noticed that when calling device.hostName the devices IP address is being returned. I'm guessing a change has been introduced and it is not longer parsing the hostname correctly?

I have included a screenshot from the demo app that demonstrates the issue.

Tom

screen shot 2017-01-05 at 22 55 47

@coatezy
Copy link
Author

coatezy commented Jan 5, 2017

After further investigation I have a feeling this may just be a limitation of the router. Please feel free to close this issue if this is the case.

@Ketan-Wadyalkar
Copy link

Cannot retrieve host name, i have download other apps from store and hostname is getting displayed in those apps. Any suggestion on how retrieve hostname ?

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

No branches or pull requests

2 participants