09-03-2022 10:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-03-2022 10:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have a watch face which displays the weather using the weather api in the companion SDK.
Ive tested on the simulator and on my android device, but I've had a few iOS users say it's not working (one of which is my Dad who's settings I've gone through and all seems correct)
Is there a known problem?
My code is https://github.com/BlythMeister/Fitbit-Overview-Face/tree/master/src%2F366x366
(Companion code https://github.com/BlythMeister/Fitbit-Overview-Face/blob/master/src/366x366/companion/index.js#L160)
I have validated that there is communication between watch and companion as the face also has a "ping/pong" between which shows an icon in red when not connected.
Since I don't have an iOS device, I can't run with logging to establish what the actual error is using studio/sideload.
Is anyone able to advise and/or test my watch face on an iOS device?
Answered! Go to the Best Answer.
Accepted Solutions
09-03-2022 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-03-2022 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It turns out that iOS didn't like the companion using local storage.
It also then turned out that the WeatherCondition enum has different member names.

09-03-2022 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-03-2022 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @BlythMeister - try restarting the phone and device, sometimes there can be delays and confusions. It may help.
Author | ch, passion for improvement.

09-03-2022 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-03-2022 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It turns out that iOS didn't like the companion using local storage.
It also then turned out that the WeatherCondition enum has different member names.

09-04-2022 20:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-04-2022 20:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@BlythMeister - did you see this post and do they differ? https://community.fitbit.com/t5/SDK-Development/Companion-Weather-API-and-SDK-Weather-Clock/m-p/5163...
Author | ch, passion for improvement.

09-04-2022 22:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-04-2022 22:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I can't say for certain.
But my original logic used the enum values in the docs and it was unable to correlate an image. I now have my own mapping of condition number to description and it works.

