rshams-dius
rshams-dius
This PR adds a "checkIfHealthDataAvailable" to health factory, which returns: - True for Android - The result of HealthKit's "isHealthDataAvailable" on iOS/iPadOS
This is to fix the following issue: When workout data is requested through Google Fit, user's consent to share sleep data is also requested. This would cause an issues going...
For example, .running could map to any of RUNNING, RUNNING_JOGGING, RUNNING_SAND, RUNNING_TREADMILL. The order of iterating through dictionary keys is not documented and changes.