Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clock/Companion Weather on iOS

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

 

View best answer in original post

Best Answer
0 Votes
4 REPLIES 4

Hi @BlythMeister - try restarting the phone and device, sometimes there can be delays and confusions. It may help.

Author | ch, passion for improvement.

Best Answer
0 Votes

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.

 

Best Answer
0 Votes

@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.

Best Answer
0 Votes

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.

Best Answer
0 Votes