Designed for mobile apps, this plugin enables your app to access, read, and write on health and fitness variables through the HealthKit and Google Fit APIs. See the complete list of variables below.
How to use this plugin
Create your own logic
Before your app can access and use health and fitness data, you must request permission from the user through the RequestPermission client action. You can request permission on the screen level by placing the permission logic in OnInitialize actions.
Use the GetData client actions to retrieve the last logged values of specific health and fitness variables. Alternatively, you can use the AdvancedQuery client action to get additional data to populate charts or tables. This action lets you set query parameters to retrieve a list of specific health and fitness variables, by setting parameters such as the variable type, start and end time, operation type, and time unit (minutes, days, weeks, etc).
Finally, you can use the WriteProfileData client action to write new values on profile variables such as weight, height, body fat percentage, and basal metabolic rate.
Supported health and fitness variables
This plugin allows you to access health and fitness variables. This is the current list of supported variables:
Health Variables
Heart rate
Sleep
Blood Pressure
Blood Glucose
Oxygen Saturation
Body Temperature
Fitness variables
Steps
Calories burned
Distance
Walking Speed
Profile variables
Weight
Height
Body fat percentage
Basal metabolic rate
To view a demo of this app, click the dropdown option of the Download button at the top of the page. You’ll be able to see an example of how the current version of the Health & Fitness Plugin can be implemented in an app that allows you to get details on some health and fitness variables, and access/change your profile data.
The latest version of the plugin (2.3.1) is compatible with with the supported MABS versions available:
Copyright (c) 2021 OutSystems, MIT License.
Chores
Copyright (c) 2021 OutSystems, MIT License