05-22-2023 03:32
05-22-2023 03:32
Hey all, I've been pointed to this forum by fitbit support in an attempt to get in touch with the development team for the Fitbit app - let me know if this is entirely the wrong place.
Context: We make a digital ski coach app, which connects to two BLE pripherals. The connection is handled within our app, and we dont bond with the peripheral. Over the last season we had a few customers (and staff members) report an issue where the connection to the bluetooth peripherals are maintained even after force closing our app. This causes our app, when reopened, to be unable to connect to the peripherals as they're already connected to the phone.
I reproduced this issue on a staff members phone who was having this issue.
Probing the bluetooth_manager state via adb seems to show that the fitbit app is maintaining the connection to our bluetooth peripheral after our app is force closed (See logs below). Our peripheral mac used in testing is E1:19:8C:C6:FA:80.
Killing the fitbit app via adb shell am force-stop com.fitbit.FitbitMobile kills the connection to the peripheral.
I'm no bluetooth expert, and i've no idea how this could even happen but it does seem strange and is affecting some of our customers. The affected staff members both have fitbit devices and the fitbit app installed. On uninstalling the fitbit app, the issue dissapears. This aligns somewhat with the number of affected customers - as its not a widespread issue and only affects a few customers.
Short term, when customers come into our support with this issue, we'll just tell them to try uninstalling the fitbit app, which obviously isn't a great experience for either of our companies. So, if there's anyone with any knowledge about how the fitbit app handles bluetooth connections, I'd appreciate any and all information to help debug this.
05-22-2023 08:47
05-22-2023 08:47
Thanks for letting us know. I've passed this onto the Android team and hopefully it can be addressed in a future update.
05-23-2023 03:38
05-23-2023 03:38
Hi Jon, thanks for getting back to me. If the team need help verifying any fixes, please feel free to reach out - reproducing the issue requires our proprietary hardware so may not be the simplest to look into.
Thanks!