12-12-2020 09:09 - edited 12-12-2020 09:12
12-12-2020 09:09 - edited 12-12-2020 09:12
Hello, I'm a Unity programmer. I currently use Fitbit SDK and integrate things like steps into a fitness application. I'm playing around with the idea of either checking if the watch app is running or opening the watch app if it is not running from within my application. I've seen some forum posts about Deep Linking to open the Fitbit Studio application, though that would not go as far as I am aiming to. The idea is to have my users notified that the application tried to connect to the watch app (fetch) but the app was not launched or could not be found.
Peer API looks like something you would use for launching another app from within the watch.
Messaging API only operates if the watch app / companion are already running.
Is the Companion app running so long as fitbit is open on the phone? I could try a peer app awake if I could get access to the companion somehow through a deep link.
Can you launch a watch application from your own application, maybe through deep links or the SDK/Web API?
12-12-2020 11:56
12-12-2020 11:56
In general, no. A watch app can transfer control to another watch app, but that's about it. Companion code can't start a watch app.