health-fitness-plugin
Mobile icon

Health & Fitness Plugin

Supported
Stable version 2.1.2 (Compatible with OutSystems 11)
Uploaded
 on 21 Aug (3 weeks ago)
 by 
OutSystems
4.8
 (4 ratings)
health-fitness-plugin

Health & Fitness Plugin

Details
Provides access to health and fitness data. Uses HealthKit API for iOS and Health Connect 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 Health Connect 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

The latest version of the plugin (2.1.1) is compatible with MABS 10.0.

 

Licensing

Copyright (c) 2021 OutSystems, MIT License.

Release notes (2.1.2)
  • Android: Requests permission to read health data in the background when calling SetBackgroundJob, necessary for Android 15.
License (2.1.2)

Copyright (c) 2021 OutSystems, MIT License

Reviews (0)
Team
OutSystems
Other assets in this category