14
Views
0
Comments
[Health & Fitness Plugin] Strange behavior on calories, oxymetry agregations and time zones
Question
health-fitness-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hello

We are integrating the new version of the Health & Fitness plugin component and have identified some plugin behaviors that are not coherent:

1 - In the number of calories, on Android, when making an advanced query to the plugin, with a range of dates, and if we include dates in which there is no physical activity or profile data, a constant number of calories is always returned. The same goes for future dates. I tested by deleting all data directly in health connect. This does not happen on IOS, which when it does not have data to calculate calories, does not return calories. How does it get to that number?


2 - On Android, the aggregation of oximetry data by average every six hours is not being calculated well, it is aggregating for 14 hours. In IOS this aggregation is being done correctly for six hours


3 - Advanced queries in Android always assume the UTC timezone, which facilitates data storage and calculations. On IOS, the timezone used in advanced queries is the client timezone. Shouldn't it be the same for both systems?

Thanks in advance for your help

António Barroso

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.