The function call of geolocation.getCurrentPosition(...) of the device Geolocation API always runs into the error handler which says "POSITION_UNAVAILABLE". Does anybody now how to enable the GPS support of the device API?
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Have you tried it outside? The device GPS doesn't like being indoors.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I tried putting the watch on the window. Launching an exercise, the GPS takes few seconds and then connects. But if I run the function, gives me Error 2, position unavailable. Am I doing something wrong?
Best Answer