11-30-2021 15:11
11-30-2021 15:11
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?
11-30-2021 15:15
11-30-2021 15:15
Your 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.
12-01-2021 09:44
12-01-2021 09:44
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
12-01-2021 11:08
12-01-2021 11:08
Thanks Gordon,
12-02-2021 13:54
12-02-2021 13:54
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
12-05-2021 01:00