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

Issue Connecting Fitbit to Firebase

Hi,

 

I'm trying to develop an app that takes user input on the watch and then sends that information to the companion app which would then be sent to a database on firestore. The app etc works fine, its the connection to firestore that's the issue. 

 

Does anyone know if it is even possible to connect fitbit sdk to firestore? As firestore only had android, ios and web dev options, there's also the firebase-admin npm package, but the project won't pick up the module. I connected via the normal firebase package using the web dev method to connect, but this returned that the client appeared offline, I assume this is because I am using a laptop client and not a web page. If anyone knows any workarounds or ways to get past this I would appreciate the help. 

 

I'm using the fitbit CLI fyi. 

Best Answer
3 REPLIES 3

Hi, I'm trying to do a similar thing. Did you get past this problem and do you have any suggestions that you can give for sending the data to Firebase? 

Best Answer
0 Votes

Hi there I'm new with this language and I'm looking everywhere to learn how to do this, can you please contact me and give me some orientation?
Maybe we can find out a way together.

Thank you.

Best Answer
0 Votes
In so far as I can tell. The only way to do it would be to send the data to a third party, namely a website you’ve created, where that would then send it to fire base. I couldn’t find a way to connect them directly, pretty sure you can’t.

However, I haven’t looked at this in like 8 months so they may have new apis.
Best Answer