02-13-2024 08:39
02-13-2024 08:39
I'm trying to fix some bugs in the clockface that I've developed using Fitbit Studio but I have no luck with Fitbit SDK.
I've added manifest.json in the root with this code to target Versa light:
{
"manifestVersion": 2,
"name": "Your App Name",
"requestedPermissions": [
"access_heart_rate"
],
"targets": [
"23.2"
]
}
But when starting build it reports building forVersa 3 and Sense, which doesn't make sense.
How can I setup the clockface to work on Versa devices?
Answered! Go to the Best Answer.
02-13-2024 10:33
02-13-2024 10:33
02-13-2024 10:33
02-13-2024 12:15 - edited 02-13-2024 12:19
02-13-2024 12:15 - edited 02-13-2024 12:19
I can't replay anything without getting that weird error in forum which I also can't paste here.
But I can edit this reply step by step.
O gosh, why did Fitbit become so frustrating?!?
So, I changed the package.json as you suggested and now I get build error:
[error][build] package.json One or more build targets was invalid: gemini
Is there a way to target multiple square shaped watches?
02-13-2024 12:45
02-13-2024 12:45
There are two issues here, at least:
02-13-2024 12:59 - edited 02-13-2024 13:56
02-13-2024 12:59 - edited 02-13-2024 13:56
Ok, updating dependencies, adding permissions and renaming few files allowed me to build and install the app on Vista light simulator.
Thank you very much!
02-13-2024 13:13
02-13-2024 13:13
Request permission to access heart rate.
Worked out which variable is null and initialise it.