04-12-2020 09:37
04-12-2020 09:37
For a app I need to do a get request and I need to use ‘https’ module, the same that I use in node.js
Is there any way to install this module on Fitbit ?
I’m working with sdk cli and using ‘npm i https’ to install the module it appear in dependences but it can find the module when running the app
04-12-2020 13:50
04-12-2020 13:50
I guess you're trying yo use it in the companion, right? As it is the only place that has access to Internet.
You'll have to see if that npm module is able to run inside the companion (I think it's like a webview, without the UI).
But it definitely isn't NodeJS, so don't expect to have any random module to just work here
04-12-2020 15:40
04-12-2020 15:40
How I can check this?
07-15-2021 08:19
07-15-2021 08:19
Did you figure out how to check if a module is usable in the companion?