Skip to content

Commit 9ed6540

Browse files
Merge pull request #148 from OutSystems/development
Merge `development` into `main` for `2.2.0` Release
2 parents e98f02f + 134a9eb commit 9ed6540

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

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

9+
## [2.2.0]
10+
11+
### Features
12+
13+
- (ios): Implement support for `Body Temperature` health variable (https://outsystemsrd.atlassian.net/browse/RMET-3672).
14+
- (android): Implement support for `Body Temperature` health variable (https://outsystemsrd.atlassian.net/browse/RMET-3673).
15+
916
## [2.1.2]
1017

1118
- Fix: Request `READ_HEALTH_DATA_IN_BACKGROUND` permission for Android 15 when setting a background job (https://outsystemsrd.atlassian.net/browse/RMET-3574).

hooks/androidCopyPreferencesPermissions.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require('fs');
22
const path = require('path');
33
const { ConfigParser } = require('cordova-common');
4-
const { DOMParser, XMLSerializer } = require('xmldom');
4+
const { DOMParser, XMLSerializer } = require('@xmldom/xmldom');
55

66
const READ = "Read"
77
const WRITE = "Write"
@@ -99,6 +99,13 @@ let permissions = {
9999
writePermission: "android.permission.health.WRITE_OXYGEN_SATURATION",
100100
configValue: undefined,
101101
wasSet: false
102+
},
103+
BodyTemperature: {
104+
variableName: "BodyTemperature",
105+
readPermission: "android.permission.health.READ_BODY_TEMPERATURE",
106+
writePermission: "android.permission.health.WRITE_BODY_TEMPERATURE",
107+
configValue: undefined,
108+
wasSet: false
102109
}
103110
}
104111

@@ -121,7 +128,7 @@ let groupPermissions = {
121128
variableName: "HealthVariables",
122129
configValue: undefined,
123130
wasSet: false,
124-
groupVariables: ["HeartRate", "Sleep", "BloodPressure", "BloodGlucose", "OxygenSaturation"]
131+
groupVariables: ["HeartRate", "Sleep", "BloodPressure", "BloodGlucose", "OxygenSaturation", "BodyTemperature"]
125132
},
126133
ProfileVariables: {
127134
variableName: "ProfileVariables",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.outsystems.plugins.healthfitness",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"description": "Health & Fitness cordova plugin for OutSystems applications.",
55
"keywords": [
66
"ecosystem:cordova",
@@ -16,6 +16,6 @@
1616
},
1717
"engines": [],
1818
"dependencies": {
19-
"xmldom": "^0.6.0"
19+
"@xmldom/xmldom": "^0.9.0"
2020
}
2121
}

plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<plugin id="com.outsystems.plugins.healthfitness" version="2.1.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2+
<plugin id="com.outsystems.plugins.healthfitness" version="2.2.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
33
<name>HealthFitness</name>
44
<description>Health &amp; Fitness cordova plugin for OutSystems applications.</description>
55
<author>OutSystems Inc</author>

src/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies{
2525

2626
implementation("com.github.outsystems:oscore-android:1.2.0@aar")
2727
implementation("com.github.outsystems:oscordova-android:2.0.1@aar")
28-
implementation("com.github.outsystems:oshealthfitness-android:2.1.2@aar")
28+
implementation("com.github.outsystems:oshealthfitness-android:2.2.0@aar")
2929
implementation("com.github.outsystems:osnotificationpermissions-android:0.0.4@aar")
3030

3131
// activity

0 commit comments

Comments
 (0)