02-23-2024 23:43
02-23-2024 23:43
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.
02-24-2024 01:30
02-24-2024 01:30
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.
02-24-2024 00:17
02-24-2024 00:17
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.
02-24-2024 01:30
02-24-2024 01:30
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.
02-24-2024 02:42
02-24-2024 02:42
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 🙂
02-24-2024 03:04
02-24-2024 03:04
@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.