Mobile icon

Health & Fitness Plugin

Stable version 1.4.0 (Compatible with OutSystems 11)
Uploaded on 30 Aug by 
 (4 ratings)

Health & Fitness Plugin

Provides access to health and fitness data. Uses HealthKit API for iOS and Google Fit API for Android.
Read more

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

Fitness variables

  • Steps

  • Calories burned

  • Distance

  • Walking Speed

Profile variables

  • Weight

  • Height

  • Body fat percentage

  • Basal metabolic rate


Health & Fitness Demo app

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.


MABS compatibility

  • Android builds compatible with MABS 7.1, 7.2 and 8.0;
  • iOS builds compatible with MABS 8.0.



Copyright (c) 2021 OutSystems, MIT License.

Release notes (1.4.0)
  • Adds the DisableGoogleFit client action, which is only available for Android.
License (1.4.0)

Copyright (c) 2021 OutSystems, MIT License

Reviews (0)