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

Fitbit OS 2 Breaking Change

Unless I'm mistaken, there's a behaviour change in Fitbit OS 2.0 that can break previously-working faces and apps. Under OS 1.x, accessing a SVG attribute that wasn't explicitly declared in index.gui (eg, .x) would return the default value (eg, 0). However, in OS 2.0, such an access returns 'undefined'. Subsequent use of this value can result in an exception which halts further processing.

 

This happened to my clockface in the store, and could afflict other apps (if they're as badly coded as mine). Developers might want to look out for this.

Peter McLennan
Gondwana Software
Best Answer
0 REPLIES 0