Skip to content

Commit

Permalink
RMET-3673 ::: Android ::: Add Body Temperature (#146)
Browse files Browse the repository at this point in the history
* feat(android): add Body Temperature permissions

References: https://outsystemsrd.atlassian.net/browse/RMET-3673

* chore: add CHANGELOG entry

References: https://outsystemsrd.atlassian.net/browse/RMET-3673

---------

Co-authored-by: Alexandre Jacinto <[email protected]>
  • Loading branch information
1 parent 3195653 commit aeee165
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

The changes documented here do not include those from the original repository.

## [Unreleased]

### Features

- (android): Implement support for `Body Temperature` health variable (https://outsystemsrd.atlassian.net/browse/RMET-3673).

## [2.1.2]

- Fix: Request `READ_HEALTH_DATA_IN_BACKGROUND` permission for Android 15 when setting a background job (https://outsystemsrd.atlassian.net/browse/RMET-3574).
Expand Down
9 changes: 8 additions & 1 deletion hooks/androidCopyPreferencesPermissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ let permissions = {
writePermission: "android.permission.health.WRITE_OXYGEN_SATURATION",
configValue: undefined,
wasSet: false
},
BodyTemperature: {
variableName: "BodyTemperature",
readPermission: "android.permission.health.READ_BODY_TEMPERATURE",
writePermission: "android.permission.health.WRITE_BODY_TEMPERATURE",
configValue: undefined,
wasSet: false
}
}

Expand All @@ -121,7 +128,7 @@ let groupPermissions = {
variableName: "HealthVariables",
configValue: undefined,
wasSet: false,
groupVariables: ["HeartRate", "Sleep", "BloodPressure", "BloodGlucose", "OxygenSaturation"]
groupVariables: ["HeartRate", "Sleep", "BloodPressure", "BloodGlucose", "OxygenSaturation", "BodyTemperature"]
},
ProfileVariables: {
variableName: "ProfileVariables",
Expand Down

0 comments on commit aeee165

Please sign in to comment.