Considering that the companion app is not always available to users especially during battery optimizations or sometimes just not running in the background or foreground.
Is there a way we can communicate through the fitbit App using it's wiFi capabilities to external APIs.
or via it's notifications channel?
Best AnswerNo, That is not possible. What I use is filetransfers. If the companion app starts again, the files are sent. Make sure your companion doesnt close be adding the following lines.
import { me } from "companion"
me.appTimeoutEnabled = false; // Disable timeout
Best AnswerAre you sure appTimeoutEnabled is for the companion? My understanding is that it prevents apps (as opposed to clockfaces) being closed after 2 minutes on the watch.
You can use wake interval to get the companion to run periodically, although it should be woken automatically when it receives a file from the watch.
Best AnswerI am actualy not sure. That code is my app for 4 years now, havent looked at it. My app performs like it should and files are sent always. Looking at the Docs, I think you are right.