04-12-2020 09:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-12-2020 09:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-12-2020 13:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-12-2020 15:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
How I can check this?

07-15-2021 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-15-2021 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Did you figure out how to check if a module is usable in the companion?
