Health & Fitness Plugin

Stable version 1.0.0 (Compatible with OutSystems 11)
Published on 7 Oct (2 weeks ago) by 
5.0
 (1 rating)

Health & Fitness Plugin

Details
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

  • Oxygen saturation

  • Body temperature

  • Hydration

  • Nutrition

Fitness variables

  • Steps

  • Calories burned

  • Move minutes

  • Push count

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.

 

Licensing

Copyright (c) 2021 OutSystems, MIT License.

What’s new (1.0.0)
Reviews (0)
More from OutSystems R&D