09-10-2019 09:19
09-10-2019 09:19
Hi,
I can run the sensors app (from a template) online in studio.fitbit with no problem on the simulator (running on Win7), the Body Presence API is working.
The same app, when exported and built in VSCode using CLI: the Body Presence API doesn't work.
Using
"dependencies": {
"@fitbit/sdk": "^3.1.2",
"@fitbit/sdk-cli": "^1.6.3"
}
I can toggle the On-wrist switch in the simulator, but this doesn't trigger the 'reading' event on the
Answered! Go to the Best Answer.
09-10-2019 13:40
09-10-2019 13:40
Try 'npm install' or 'npm rebuild' to make sure that the dependencies are up-to-date.
09-10-2019 13:40
09-10-2019 13:40
Try 'npm install' or 'npm rebuild' to make sure that the dependencies are up-to-date.
09-11-2019 09:45
09-11-2019 09:45
Running npm install again did the trick. Thanks