Hi all,
I am developing a web-based app. Is it possible to open fitbit app from another app so that we can force the user to sync?
I am trying to use fitbit:// as a target url but it is not opening the fitbit app.
eg: if you use msteams:// it opens up Microsoft Teams. I read that the url scheme for fitbit is "fitbit://". What am I missing?
Best AnswerYour post was moved from the Android forum to the Web API Development forum area so you can get more relevant responses. The Android area is more for people who use the Fitbit app on their Android phones and need assistance.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @jdhvj
It's not possible to force the user to sync. If the Fitbit app is running on the mobile application, then the device and mobile app should sync automatically about every 15 minutes. What is the reason you want to force a sync?
Gordon
Thanks Gordon,
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Unfortunately, we don't have a solution to make that possible. Instead, you could request the "settings" scope. If a user enables it, then your application can periodically call the Get Devices endpoint to find out the last time the user sync'd. If they haven't synced in a couple of days, you could send a notification via text, email or through your application as a reminder to open the Fitbit application to sync their latest activity. The device can store data for up to 6-7 days. I'd recommend sending the reminder out after 3-4 days if data has not been received.
Gordon