Hi i have done a clockface for my sense 2, in the simulator with sdk 6.2.0 all works fine, but when i convert to sdk 7.2.0 and install via private link the battery level text and heartrate are not displayed.
The code is :
Answered! Go to the Best Answer.
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Hi @Takeshi81 - I agree with @Gondwana - stick with 6.2
The error may be because you didn't give it a text-length in the SVG - it receives a 0 length if not initialised or one isn't specified.
Author | ch, passion for improvement.
I'm not sure 7.2 will give you anything more than 6.2 does, so I'd stick with 6.2. This might be relevant.
For a giggle, you could try initialising element text to something in the SVG and see if that appears.
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Hi @Takeshi81 - I agree with @Gondwana - stick with 6.2
The error may be because you didn't give it a text-length in the SVG - it receives a 0 length if not initialised or one isn't specified.
Author | ch, passion for improvement.
Thanks for the hints, i'm using sdk 7.2.0 because i need to build for hera,rhea since i have a sense 2.
Indeed the problem was the text not being initialised.
Now everything working 🙂
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
@Takeshi81- thanks, for the Sense 2 and Versa 4 this works fine
"devDependencies": {
"@fitbit/sdk": "^6.2.0-pre.1",
"@fitbit/sdk-cli": "^1.7.3"
},
Author | ch, passion for improvement.
Best Answer