10-05-2022 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-05-2022 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hello there,
I'm having a bit hard time understanding the review process. So, I've submitted a free clockface to the GAM and after 10-ish days resubmitted it again because it was not really reviewed by anybody.
This time, after a couple of days it was rejected with the following wording:
"#displayed values did not correspond with device Today values. Please consult the following link for more information: https://dev.fitbit.com/legal/app-gallery-guidelines/"
Can somebody explain to me what does this message actually mean?
P.S. Link to source code https://github.com/vasyltech/fitbit-focus.
Answered! Go to the Best Answer.
Accepted Solutions
10-05-2022 18:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-05-2022 18:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Your code uses a mix of today.local and today.adjusted. It would be best to only use .adjusted. That's what the Today app shows.
Gondwana Software
10-05-2022 18:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-05-2022 18:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Your code uses a mix of today.local and today.adjusted. It would be best to only use .adjusted. That's what the Today app shows.
Gondwana Software
10-07-2022 05:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-07-2022 05:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Thank you Gondwana! Your response in much appreciated.
I'm adjusting the functionality were `adjusted` value has higher precedence than `local`. Considering the fact that device not always in-sync with companion, it is probably the safest route to take. Any thoughts are appreciated
function GetTodayMetric(metric, xpath = null) {
let value = today.adjusted[metric] ?? today.local[metric];
if (xpath !== null && value !== undefined) {
value = value[xpath];
}
return value !== undefined ? value.toString() : "--";
}
10-07-2022 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-07-2022 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
No worries. I feel that it's safe enough to just use .adjusted. If syncing hasn't occurred, .adjusted will return the same value as .local. I think...
Gondwana Software

