02-23-2024 23:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-23-2024 23:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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 :
Strange thing when the charger is connected the icon change...
Answered! Go to the Best Answer.

Accepted Solutions
02-24-2024 01:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-24-2024 01:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-24-2024 00:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
02-24-2024 01:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-24-2024 01:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-24-2024 02:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-24-2024 03:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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.

