Open jerriclynsjohn opened 8 years ago
When the application is open and GPS and BT can be disabled or enabled from the drawer.
Now navigate to another activity and come back again, the HRM icon is shown and gets connected. Now again navigate to another activity and come back again, the HRM icon is shown and is not connected until you manually switch off and on the android BT then refresh to the activity.
Ideally the BTLE reconnection should work seamlessly and If I'm not mistaken by the functionality the HRM icon should be shown if both GPS and BT is enabled.
@jonasoreland I think there is some default bug associated with Android API, I'll try test it out with other libraries to see if we can take care of this issue.
The app now have audio cues if HR connection is lost/restored.
After the pairing process, every-time I navigate to the default activity it tries connecting to Hear Rate Monitor (BTLE), the following happens:
Which means, when the Bluetooth is manually turned on /off the problem is solved, this could be an android BTLE API bug (which is apparently buggy as hell) or should this be something obvious. I've not looked into the code yet, it will be highly be appreciated if someone could give me a head-start if that's necessary.