Open alireza-dhp opened 10 months ago
alsp improve the Polar integration interface in the Mobile App with all the error handling and proper feedback
may be important to implement better temporary locking in in the user interface, implement connection dialogue as a popup and also possibly integrate documentation for manual workarounds (e.g. connecting devices via system settings and only THEN adding them in MORE)
Issues also exist in Android!
Describe the different cases @alireza-dhp :
We suggest the following workflow to handle the connections to external devices (Polar):
Improvements for bluetooth connection with Polar MORE-200
Primary use cases positively tested with App version 4.0.10 on iOS 17.5.1 (iPhoneSE)
First (clean) installation of the APP, bluetooth is on, polar is off -> login to a study with (hidden) polar observation -> after consent screen the devices screen opens with missing polar -> one can switch on polar and add to devices -> data fetch starts as soon as the observation starts (or has already started)
Manually stopping polar, while polar observation is running and app is in foreground or background -> notification sent to notification tab and error button appears on dashboard -> shows reason for the error -> sends one to the devices screen -> switching on polar automatically reconnects the polar device and resumes in collecting data
Manually stopping bluetooth, while polar observation is running and app is in foreground or background -> notification sent to notification tab and error button appears on dashboard -> shows reasons for the error (bluetooth and polar) -> sends on to the devices connection screen -> switching on bluetooth reconnects the polar device and resumes in collecting data
Manually stopping bluetooth and polar, while polar observation is running and app is in foreground or background -> notification sent to notification tab and error button appears on dashboard -> shows reasons for the error (bluetooth and polar) -> sends on to the devices connection screen -> switching on bluetooth -> screen stays and asks for polar -> switching on polar automatically reconnects the polar device and resumes in collecting data
Other cases positively tested
Cases with remaining issues or known limitations
Dear @andresgruber,
I have tested the improvements made to the Bluetooth connection and found that it works significantly better than before. Thank you for the enhancements.
There are some issues that I observed:
iOS and Android:
Android:
iOS:
When running the app on iOS for the first time,before logging via a token a popup message appears, requesting permission to use Bluetooth.
Upon denying the Bluetooth permission request, and after enter the token and accept the concept, the app encounters a failure and cannot proceed.