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

Text not displayed in Sense 2 clockface

ANSWERED

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 : 

screen1.png
Can someone tell me if there are differences between sdk 6.2.0 and 7.2.0 in the api i've used.
Strange thing when the charger is connected the icon change...
 
Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

View best answer in original post

Best Answer
4 REPLIES 4

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.

Peter McLennan
Gondwana Software
Best Answer

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.

Best Answer

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
0 Votes

@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
0 Votes