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

manifest.json has been ignored

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @1GR3 - you need the right SDK for the Versa Lite in your package.json

"devDependencies": {
"@fitbit/sdk": "~4.3.0",

goes with

"buildTargets": [
"gemini"
],

Author | ch, passion for improvement.

View best answer in original post

Best Answer
5 REPLIES 5

Hi @1GR3 - you need the right SDK for the Versa Lite in your package.json

"devDependencies": {
"@fitbit/sdk": "~4.3.0",

goes with

"buildTargets": [
"gemini"
],

Author | ch, passion for improvement.

Best Answer

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?

Best Answer
0 Votes

There are two issues here, at least:

  • "gemini" is correct. If you've previously built for a different sdk version, you may need `npm i` to load the packages for 4.3.0.
  • You can list multiple watch model targets if they can all use the same sdk version (which, I think, is the case). But I'd get gemini alone working first, just to avoid complication.
Peter McLennan
Gondwana Software
Best Answer
0 Votes

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!

Best Answer
0 Votes

Request permission to access heart rate.

Worked out which variable is null and initialise it.

Peter McLennan
Gondwana Software
Best Answer