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

Location not working #24

Open
Avatar1976 opened this issue Feb 18, 2019 · 1 comment
Open

Location not working #24

Avatar1976 opened this issue Feb 18, 2019 · 1 comment

Comments

@Avatar1976
Copy link

Having a problem with the below code snippet, the getLocatinOfDevice function is returning an "undefined" value. I don't really need getDistanceOfDevice but it appears to not be working either.
icloud.getLocationOfDevice(device, function(err, location)

Is it possible Apple have changed something that this no longer working?
Do I need to set some kind of time out to between logon and when it retrieves my Watch ID.

I should mention btw that the function to send an alert alertDevice is working fine, I simply cannot retrieve any data back from the aforementioned location functions.

@zhiftyDK
Copy link

Have you tried disabling 2 factor authentication

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