Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMET-3191 H&F Plugin - Use sensors for background jobs (Activity Recognition Transition API) #111

Merged
merged 24 commits into from
Mar 20, 2024

Conversation

alexgerardojacinto
Copy link
Collaborator

@alexgerardojacinto alexgerardojacinto commented Mar 18, 2024

Description

  • This PR adds the usage of the Activity Recognition Transition API for the background job work, by updating the dependency to OSHealthFitnessLib-Android.
  • It also adds a change to the setBackgroundJob feature, only requesting the SCHEDULE_EXACT_ALARM permission if the variable in question needs it.
  • It also adds the SCHEDULE_EXACT_ALARM permission to the app's AndroidManifest.xml file, through the androidCopyPreferencesPermissions hook.

Context

References:

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

Screenshots (if appropriate)

Checklist

  • Pull request title follows the format RNMT-XXXX <title>
  • Code follows code style of this project
  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

Context: To use the Activity Recognition Transition API, we need to include this permission for API 28 (Android 9), and below. More info here: https://developer.android.com/codelabs/activity-recognition-transition#2

References: https://outsystemsrd.atlassian.net/browse/RMET-3191
Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

References: https://outsystemsrd.atlassian.net/browse/RMET-3190
…ting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

References: https://outsystemsrd.atlassian.net/browse/RMET-3190
Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

References: https://outsystemsrd.atlassian.net/browse/RMET-3190
…es it

Context: We only need the SCHEDULE_EXACT_ALARM permission if we want to use an exact alarm to setup the background job, and we only want to do that for variables that are not activity related (e.g. STEPS), since for those we can use the Activity Recognition Transition API instead, avoiding requesting a somewhat odd permission.

References: https://outsystemsrd.atlassian.net/browse/RMET-3191
@alexgerardojacinto alexgerardojacinto changed the title Feat/rmet 3191/background activity RMET-3191 H&F Plugin - Use sensors for background jobs (Activity Recognition Transition API) Mar 19, 2024
@alexgerardojacinto alexgerardojacinto self-assigned this Mar 19, 2024
@alexgerardojacinto alexgerardojacinto marked this pull request as ready for review March 19, 2024 10:36
@alexgerardojacinto alexgerardojacinto requested review from a team, ItsChaceD, IT-MikeS and hectorjdgdev and removed request for a team March 19, 2024 10:36
@alexgerardojacinto alexgerardojacinto merged commit 0785fbc into development Mar 20, 2024
4 checks passed
alexgerardojacinto added a commit that referenced this pull request Apr 9, 2024
…gnition Transition API) (#111)

* feat: include necessary permissions for API 28 and below

Context: To use the Activity Recognition Transition API, we need to include this permission for API 28 (Android 9), and below. More info here: https://developer.android.com/codelabs/activity-recognition-transition#2

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

* feat: declare SCHEDULE_EXACT_ALARM permission in manifest

Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

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

* feat: request SCHEDULE_EXACT_ALARM permission when setting background job

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

* feat: handle SCHEDULE_EXACT_ALARM permission not being given when setting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

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

* feat: ask for SCHEDULE_EXACT_ALARM permission before other ones

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

* feat: get foreground notification info from strings.xml file

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

* feat: replace workManager with alarmManager

Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

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

* feat: pass context parameter to AdvancedQuery, as it is needed

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android lib

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

* chore: add explanatory comment

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

* chore: update changelog

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

* feat: only request SCHEDULE_EXACT_ALARM permission if variable requires it

Context: We only need the SCHEDULE_EXACT_ALARM permission if we want to use an exact alarm to setup the background job, and we only want to do that for variables that are not activity related (e.g. STEPS), since for those we can use the Activity Recognition Transition API instead, avoiding requesting a somewhat odd permission.

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

* fix: properly check if SCHEDULE_EXACT_ALARM permission is necessary

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

* refactor: remove unnecessary semicolon

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

* feat: use ActivityTransitionHelper from Android library

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

* chore: update dependency to H&F Android library

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

* feat: include play-services-services-location dependency through Gralde

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

* chore: remove unnecessary gradle dependency

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

* chore: update changelog

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

* chore: update dependency to H&F Android lib

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

* chore: update dependency to H&F Android library

References: https://outsystemsrd.atlassian.net/browse/RMET-3191
alexgerardojacinto added a commit that referenced this pull request Apr 9, 2024
* chore: Add Unreleased Tag to CHANGELOG

Context: Rewording for rebase

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* RMET-2036 :: Replaced jcenter by mavenCentral (#87)

* fix: remove jcenter from gradle

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

* fix: add mavenCentral to repos

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

* chore: update changelog

* chore(release): raise to version 1.2.12

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* Prepare Release 1.3.0 (#89)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore(release): raise to version 1.4.0

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

* RMET-3046 H&F Cordova Plugin - Migrate RequestPermissions to HealthConnect (#96)

* feat: migrate requestPermissions to Health Connect

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

* feat: pass all necessary parameters for requestPermissions

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

* refactor: call setAsActivityResultCallback before anything else

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

* feat: update bridge according to new lib version

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

* chore: update dependency version

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

* refactor: inline parameters for permissions

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

* refactor: avoid using unnecessary variable

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

* chore: update changelog

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

* chore: fix date on changelog entry

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

* refactor: remove empty lines

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

* RMET-3049 OSHealthFitnessLib-Android - Migrate WriteProfileData feature (#97)

* feat: implement first version of writeProfileData

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

* refactor: remove commented code

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

* refactor: remove commented code

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

* chore: update changelog

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

* feat: update android lib version

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

* RMET-3048 :: Migrate GetLastRecord to HealthConnect (#98)

* feat: implement getLastRecord and refactor writeData

References:
https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* chore: update dependency to Android H&F lib

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

* refactor: remove unused import

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

* chore: update changelog

References: https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* chore: update dependency to Android H&F library

References:
https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* RMET-3069 H&F Plugin - Migrate ListBackgroundJobs feature (#99)

* fix: properly deal with notification permission

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

* feat: implement listBackgroundJobs

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

* chore: update changelog

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

* RMET-3050 H&F Plugin - Migrate set background job (#101)

* fix: properly deal with notification permission

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

* fix: only ask for notification permission starting on Android

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

* feat: add permissions to permission request

Context: We will need more permissions for background jobs, namely POST_NOTIFICATIONS, ACTIVITY_RECOGNITION, and BODY_SENSORS.

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

* refactor: remove unused variable

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

* fix: remove unnecessary permission

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

* feat: use workMangerHelper

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

* chore: update changelog

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

* refactor: avoid code repetition

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

* RMET-3047 Android Advance Query (#100)

* feat: Implemented feature advance query
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Added error result when error permission
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Removed extra lines
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Updated with minor variables scope changes
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Handled HealthFitnessError.PERMISSIONS_DENIED_ERROR as a generic error
https://outsystemsrd.atlassian.net/browse/RMET-3047

* chore: Renamed advancedQuery for consistency
https://outsystemsrd.atlassian.net/browse/RMET-3047

* chore: Merged development branch
https://outsystemsrd.atlassian.net/browse/RMET-3047

* RMET-3067 H&F Plugin - Migrate updateBackgroundJob (#103)

* fix: properly deal with notification permission

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

* fix: only ask for notification permission starting on Android

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

* feat: add permissions to permission request

Context: We will need more permissions for background jobs, namely POST_NOTIFICATIONS, ACTIVITY_RECOGNITION, and BODY_SENSORS.

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

* refactor: remove unused variable

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

* fix: remove unnecessary permission

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

* feat: use workMangerHelper

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

* chore: update changelog

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

* feat: migrate updateBackgroundJob feature to Health Connect

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

* chore: update changelog

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

* chore: update Android library version

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

* fix: update class name for HealthRecord

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

* chore: update Android library dependency

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

* fix: use proper version of Android library

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

* RMET-3068 ::: Android ::: Migrate Delete Background Jobs  (#104)

* feat: Migrate Delete Background Job

Change `deleteBackgroundJob` to use the new `HealthConnectViewModel` version.

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

* chore: CHANGELOG entry

Add CHANGELOG entry.

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

---------

Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>

* RMET-3145:::Show app's privacy policy dialog (#105)

* feat: Show app's privacy policy dialog
https://outsystemsrd.atlassian.net/browse/RMET-3145

* chore: Cosmetic change
https://outsystemsrd.atlassian.net/browse/RMET-3145

* chore: Cosmetic change
https://outsystemsrd.atlassian.net/browse/RMET-3145

* RMET-3158 H&F Plugin - Open Health Connect App (#107)

* feat: first implementation of androidCopyPreferencesPermissions hook

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

* fix: fix path to hook file

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

* fix: add dependency to xmldom

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

* feat: implement first version of hook processing preferences

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

* refactor: remove unnecessary code

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

* fix: fix comparator in condition

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* fix: use "" instead of null in comparison

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

* refactor: remove logs

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

* refactor: remove logs and comments

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

* feat: add permissions code for Android <= 13

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

* fix: fix variable name

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

* feat: add background permissions to AndroidManifest.xml file

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

* fix: properly pass DOMParser to functions

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

* fix: fix condition in if for background job permissions

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

* feat: remove unnecessary permissions

Context: The new version of the H&F plugin, which uses Health Connect, no longer needs these permissions by default.

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

* test: add logs for troubleshooting

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

* fix: fix if condition

Context: We only want to not include the permissions if DisableBackgroundJobs is exactly equal to "true"

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

* feat: copy notification content to strings.xml

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

* fix: fix query selector

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

* fix: properly look for string tags

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

* test: add logs for troubleshooting

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

* misc: add log for troubleshooting

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

* misc: add logs for troubleshooting

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

* feat: use different way of setting texts in strings.xml

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

* refactor: remove logs and comments

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

* fix: replace const with var

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

* feat: add PermissionsRationaleActivity to AndroidManifest.xml

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

* feat: also use default value for notificationDescription

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

* fix: add missing permissions for background jobs

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

* chore: update changelog

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

* refactor: use correct english term

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

* fix: include necessary dependencies

Context: Because dependencies from our Health and Fitness Android library are not being transitive, we need to include them in the plugin's build.gradle file so that they're included in the app's build gradle.

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

* fix: include dependencies for Jetpack Compose in build.gradle

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

* feat: implement openHealthConnect

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

* chore: update changelog

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

* chore: update dependency version

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

* chore: remove code from other branch

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

* chore: remove changes from other branch

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

* refactor: fix spacing

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

* RMET- 3142 H&F Plugin - Hook for permissions (#106)

* feat: first implementation of androidCopyPreferencesPermissions hook

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

* fix: fix path to hook file

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

* fix: add dependency to xmldom

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

* feat: implement first version of hook processing preferences

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

* refactor: remove unnecessary code

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

* fix: fix comparator in condition

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* fix: use "" instead of null in comparison

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

* refactor: remove logs

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

* refactor: remove logs and comments

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

* feat: add permissions code for Android <= 13

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

* fix: fix variable name

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

* feat: add background permissions to AndroidManifest.xml file

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

* fix: properly pass DOMParser to functions

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

* fix: fix condition in if for background job permissions

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

* feat: remove unnecessary permissions

Context: The new version of the H&F plugin, which uses Health Connect, no longer needs these permissions by default.

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

* test: add logs for troubleshooting

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

* fix: fix if condition

Context: We only want to not include the permissions if DisableBackgroundJobs is exactly equal to "true"

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

* feat: copy notification content to strings.xml

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

* fix: fix query selector

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

* fix: properly look for string tags

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

* test: add logs for troubleshooting

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

* misc: add log for troubleshooting

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

* misc: add logs for troubleshooting

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

* feat: use different way of setting texts in strings.xml

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

* refactor: remove logs and comments

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

* fix: replace const with var

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

* feat: add PermissionsRationaleActivity to AndroidManifest.xml

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

* feat: also use default value for notificationDescription

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

* fix: add missing permissions for background jobs

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

* chore: update changelog

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

* refactor: use correct english term

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

* fix: include necessary dependencies

Context: Because dependencies from our Health and Fitness Android library are not being transitive, we need to include them in the plugin's build.gradle file so that they're included in the app's build gradle.

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

* fix: include dependencies for Jetpack Compose in build.gradle

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

* refactor: fix typo

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

* feat: add helper method to avoid code replication

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

* fix: pass XML Documents to helper function

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

* fix: pass necessary parameter to helper function

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

* refactor: use helper methods to avoid code repetition

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

* refactor: use helper functions and maps to avoid code repetition and improve overall quality

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

* feat: populate objects with correct values

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

* refactor: remove unused requires

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

* RMET-3070 H&F Plugin - Implement disableHealthConnect feature and Deprecate disableGoogleFit (#102)

* feat: implement disableHealthConnect and deprecate disableGoogleFit

* update to use view model instead of health store

* RMET-3190 OSHealthFintessLib-Android - Fix library build (#108)

* chore: update H&F Android Library version

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

* chore: update changelog

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

* chore: remove unnecessary CHANGELOG entry

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

* RMET-3190 H&F Plugin - Use exact alarms for background jobs (#109)

* feat: declare SCHEDULE_EXACT_ALARM permission in manifest

Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

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

* feat: request SCHEDULE_EXACT_ALARM permission when setting background job

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

* feat: handle SCHEDULE_EXACT_ALARM permission not being given when setting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

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

* feat: ask for SCHEDULE_EXACT_ALARM permission before other ones

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

* feat: get foreground notification info from strings.xml file

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

* feat: replace workManager with alarmManager

Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

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

* feat: pass context parameter to AdvancedQuery, as it is needed

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android lib

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

* chore: add explanatory comment

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

* chore: update changelog

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

* RMET-3191 H&F Plugin - Use sensors for background jobs (Activity Recognition Transition API) (#111)

* feat: include necessary permissions for API 28 and below

Context: To use the Activity Recognition Transition API, we need to include this permission for API 28 (Android 9), and below. More info here: https://developer.android.com/codelabs/activity-recognition-transition#2

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

* feat: declare SCHEDULE_EXACT_ALARM permission in manifest

Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

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

* feat: request SCHEDULE_EXACT_ALARM permission when setting background job

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

* feat: handle SCHEDULE_EXACT_ALARM permission not being given when setting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

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

* feat: ask for SCHEDULE_EXACT_ALARM permission before other ones

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

* feat: get foreground notification info from strings.xml file

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

* feat: replace workManager with alarmManager

Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

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

* feat: pass context parameter to AdvancedQuery, as it is needed

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android lib

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

* chore: add explanatory comment

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

* chore: update changelog

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

* feat: only request SCHEDULE_EXACT_ALARM permission if variable requires it

Context: We only need the SCHEDULE_EXACT_ALARM permission if we want to use an exact alarm to setup the background job, and we only want to do that for variables that are not activity related (e.g. STEPS), since for those we can use the Activity Recognition Transition API instead, avoiding requesting a somewhat odd permission.

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

* fix: properly check if SCHEDULE_EXACT_ALARM permission is necessary

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

* refactor: remove unnecessary semicolon

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

* feat: use ActivityTransitionHelper from Android library

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

* chore: update dependency to H&F Android library

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

* feat: include play-services-services-location dependency through Gralde

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

* chore: remove unnecessary gradle dependency

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

* chore: update changelog

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

* chore: update dependency to H&F Android lib

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android library (#112)

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

* RMET-3246 H&F Plugin - Fix hook for ODC (#113)

* test: check if file name contains string

* chore: update dependency to H&F Android Lib

* refactor: remove console logs

* chore: update changelog

* RMET-3134 H&F Plugin - Remove old code (#114)

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android library

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

* chore: update lib dependency

* feat: remove old unused code

References: feat/RMET-3134/remove-old-code

* feat: remove old unused code

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

* fix: revert changes in previous commit

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

* fix: revert changes in previous commit

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

* chore: update OSHealthFitnessLib-Android version

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

* chore: update dependency to Android native library

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

* chore: update changelog

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

* RMET-3134 H&F Plugin - Minor fix for background jobs feature (#115)

* chore: update library dependency

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

* chore: update H&F Android lib version

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

* RMET-3134 H&F Plugin - Apply fix background job (#116)

* chore: update library dependency

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

* chore: update H&F Android lib version

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

* chore: update dependency to lib

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

* chore: remove unused stuff (#117)

Context: We don't use summary variables, so we might as well remove the parameter. Also, the new plugin version no longer offers the disconnectFromGoogleFit feature, as it was replaced by disconnectFromHealthConnect.

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

* refactor: update gson lib version (#119)

Context: Version 2.8.9 fixes a vulnerability found in 2.8.8 that was reported by Snyk.

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

* RMET-3134 H&F Plugin - Fix privacy policy opening for Android <= 13 (#120)

* fix: include activity alias for privacy policy manifest

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

* test: remove stuff from plugin.xml

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

* refactor: remove extra lines

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

* chore: update changelog

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

* RMET-3280 ::: iOS ::: Add Privacy Manifest (#118)

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

* chore: Update iOS library

This adds the Privacy Manifest to the Cordova plugin.

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

* chore: Add CHANGELOG entry

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* chore: update H&F Android library version (#121)

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

* RMET-3051 H&F - Prepare release of version 2.0.0 (#123)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

* chore: update H&F Android library version

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

* refactor: remove unused code

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

* Revert "Merge branch 'main' into feat/RMET-3051/prepare-release"

This reverts commit 129c1aa, reversing
changes made to f0e7b03.

* chore: update iOS library

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* Solve conflicts (#125)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* Final try (#127)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* chore: update changelog

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>
Co-authored-by: hectorjdgdev <73396046+hectorjdgdev@users.noreply.github.com>
Co-authored-by: Chace Daniels <chaced12@gmail.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>
alexgerardojacinto added a commit that referenced this pull request Apr 10, 2024
* chore: Add Unreleased Tag to CHANGELOG

Context: Rewording for rebase

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* RMET-2036 :: Replaced jcenter by mavenCentral (#87)

* fix: remove jcenter from gradle

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

* fix: add mavenCentral to repos

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

* chore: update changelog

* chore(release): raise to version 1.2.12

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* Prepare Release 1.3.0 (#89)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore(release): raise to version 1.4.0

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

* RMET-3046 H&F Cordova Plugin - Migrate RequestPermissions to HealthConnect (#96)

* feat: migrate requestPermissions to Health Connect

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

* feat: pass all necessary parameters for requestPermissions

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

* refactor: call setAsActivityResultCallback before anything else

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

* feat: update bridge according to new lib version

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

* chore: update dependency version

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

* refactor: inline parameters for permissions

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

* refactor: avoid using unnecessary variable

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

* chore: update changelog

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

* chore: fix date on changelog entry

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

* refactor: remove empty lines

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

* RMET-3049 OSHealthFitnessLib-Android - Migrate WriteProfileData feature (#97)

* feat: implement first version of writeProfileData

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

* refactor: remove commented code

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

* refactor: remove commented code

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

* chore: update changelog

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

* feat: update android lib version

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

* RMET-3048 :: Migrate GetLastRecord to HealthConnect (#98)

* feat: implement getLastRecord and refactor writeData

References:
https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* chore: update dependency to Android H&F lib

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

* refactor: remove unused import

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

* chore: update changelog

References: https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* chore: update dependency to Android H&F library

References:
https://outsystemsrd.atlassian.net/browse/RMET-3048
https://outsystemsrd.atlassian.net/browse/RMET-3065
https://outsystemsrd.atlassian.net/browse/RMET-3066

* RMET-3069 H&F Plugin - Migrate ListBackgroundJobs feature (#99)

* fix: properly deal with notification permission

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

* feat: implement listBackgroundJobs

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

* chore: update changelog

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

* RMET-3050 H&F Plugin - Migrate set background job (#101)

* fix: properly deal with notification permission

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

* fix: only ask for notification permission starting on Android

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

* feat: add permissions to permission request

Context: We will need more permissions for background jobs, namely POST_NOTIFICATIONS, ACTIVITY_RECOGNITION, and BODY_SENSORS.

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

* refactor: remove unused variable

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

* fix: remove unnecessary permission

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

* feat: use workMangerHelper

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

* chore: update changelog

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

* refactor: avoid code repetition

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

* RMET-3047 Android Advance Query (#100)

* feat: Implemented feature advance query
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Added error result when error permission
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Removed extra lines
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Updated with minor variables scope changes
https://outsystemsrd.atlassian.net/browse/RMET-3047

* fix: Handled HealthFitnessError.PERMISSIONS_DENIED_ERROR as a generic error
https://outsystemsrd.atlassian.net/browse/RMET-3047

* chore: Renamed advancedQuery for consistency
https://outsystemsrd.atlassian.net/browse/RMET-3047

* chore: Merged development branch
https://outsystemsrd.atlassian.net/browse/RMET-3047

* RMET-3067 H&F Plugin - Migrate updateBackgroundJob (#103)

* fix: properly deal with notification permission

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

* fix: only ask for notification permission starting on Android

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

* feat: add permissions to permission request

Context: We will need more permissions for background jobs, namely POST_NOTIFICATIONS, ACTIVITY_RECOGNITION, and BODY_SENSORS.

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

* refactor: remove unused variable

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

* fix: remove unnecessary permission

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

* feat: use workMangerHelper

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

* chore: update changelog

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

* feat: migrate updateBackgroundJob feature to Health Connect

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

* chore: update changelog

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

* chore: update Android library version

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

* fix: update class name for HealthRecord

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

* chore: update Android library dependency

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

* fix: use proper version of Android library

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

* RMET-3068 ::: Android ::: Migrate Delete Background Jobs  (#104)

* feat: Migrate Delete Background Job

Change `deleteBackgroundJob` to use the new `HealthConnectViewModel` version.

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

* chore: CHANGELOG entry

Add CHANGELOG entry.

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

---------

Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>

* RMET-3145:::Show app's privacy policy dialog (#105)

* feat: Show app's privacy policy dialog
https://outsystemsrd.atlassian.net/browse/RMET-3145

* chore: Cosmetic change
https://outsystemsrd.atlassian.net/browse/RMET-3145

* chore: Cosmetic change
https://outsystemsrd.atlassian.net/browse/RMET-3145

* RMET-3158 H&F Plugin - Open Health Connect App (#107)

* feat: first implementation of androidCopyPreferencesPermissions hook

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

* fix: fix path to hook file

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

* fix: add dependency to xmldom

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

* feat: implement first version of hook processing preferences

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

* refactor: remove unnecessary code

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

* fix: fix comparator in condition

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* fix: use "" instead of null in comparison

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

* refactor: remove logs

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

* refactor: remove logs and comments

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

* feat: add permissions code for Android <= 13

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

* fix: fix variable name

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

* feat: add background permissions to AndroidManifest.xml file

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

* fix: properly pass DOMParser to functions

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

* fix: fix condition in if for background job permissions

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

* feat: remove unnecessary permissions

Context: The new version of the H&F plugin, which uses Health Connect, no longer needs these permissions by default.

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

* test: add logs for troubleshooting

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

* fix: fix if condition

Context: We only want to not include the permissions if DisableBackgroundJobs is exactly equal to "true"

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

* feat: copy notification content to strings.xml

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

* fix: fix query selector

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

* fix: properly look for string tags

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

* test: add logs for troubleshooting

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

* misc: add log for troubleshooting

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

* misc: add logs for troubleshooting

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

* feat: use different way of setting texts in strings.xml

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

* refactor: remove logs and comments

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

* fix: replace const with var

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

* feat: add PermissionsRationaleActivity to AndroidManifest.xml

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

* feat: also use default value for notificationDescription

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

* fix: add missing permissions for background jobs

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

* chore: update changelog

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

* refactor: use correct english term

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

* fix: include necessary dependencies

Context: Because dependencies from our Health and Fitness Android library are not being transitive, we need to include them in the plugin's build.gradle file so that they're included in the app's build gradle.

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

* fix: include dependencies for Jetpack Compose in build.gradle

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

* feat: implement openHealthConnect

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

* chore: update changelog

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

* chore: update dependency version

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

* chore: remove code from other branch

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

* chore: remove changes from other branch

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

* refactor: fix spacing

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

* RMET- 3142 H&F Plugin - Hook for permissions (#106)

* feat: first implementation of androidCopyPreferencesPermissions hook

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

* fix: fix path to hook file

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

* fix: add dependency to xmldom

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

* feat: implement first version of hook processing preferences

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

* refactor: remove unnecessary code

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

* fix: fix comparator in condition

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* test: add log for troubleshooting

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

* fix: use "" instead of null in comparison

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

* refactor: remove logs

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

* refactor: remove logs and comments

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

* feat: add permissions code for Android <= 13

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

* fix: fix variable name

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

* feat: add background permissions to AndroidManifest.xml file

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

* fix: properly pass DOMParser to functions

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

* fix: fix condition in if for background job permissions

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

* feat: remove unnecessary permissions

Context: The new version of the H&F plugin, which uses Health Connect, no longer needs these permissions by default.

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

* test: add logs for troubleshooting

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

* fix: fix if condition

Context: We only want to not include the permissions if DisableBackgroundJobs is exactly equal to "true"

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

* feat: copy notification content to strings.xml

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

* fix: fix query selector

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

* fix: properly look for string tags

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

* test: add logs for troubleshooting

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

* misc: add log for troubleshooting

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

* misc: add logs for troubleshooting

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

* feat: use different way of setting texts in strings.xml

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

* refactor: remove logs and comments

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

* fix: replace const with var

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

* feat: add PermissionsRationaleActivity to AndroidManifest.xml

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

* feat: also use default value for notificationDescription

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

* fix: add missing permissions for background jobs

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

* chore: update changelog

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

* refactor: use correct english term

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

* fix: include necessary dependencies

Context: Because dependencies from our Health and Fitness Android library are not being transitive, we need to include them in the plugin's build.gradle file so that they're included in the app's build gradle.

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

* fix: include dependencies for Jetpack Compose in build.gradle

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

* refactor: fix typo

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

* feat: add helper method to avoid code replication

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

* fix: pass XML Documents to helper function

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

* fix: pass necessary parameter to helper function

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

* refactor: use helper methods to avoid code repetition

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

* refactor: use helper functions and maps to avoid code repetition and improve overall quality

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

* feat: populate objects with correct values

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

* refactor: remove unused requires

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

* RMET-3070 H&F Plugin - Implement disableHealthConnect feature and Deprecate disableGoogleFit (#102)

* feat: implement disableHealthConnect and deprecate disableGoogleFit

* update to use view model instead of health store

* RMET-3190 OSHealthFintessLib-Android - Fix library build (#108)

* chore: update H&F Android Library version

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

* chore: update changelog

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

* chore: remove unnecessary CHANGELOG entry

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

* RMET-3190 H&F Plugin - Use exact alarms for background jobs (#109)

* feat: declare SCHEDULE_EXACT_ALARM permission in manifest

Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

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

* feat: request SCHEDULE_EXACT_ALARM permission when setting background job

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

* feat: handle SCHEDULE_EXACT_ALARM permission not being given when setting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

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

* feat: ask for SCHEDULE_EXACT_ALARM permission before other ones

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

* feat: get foreground notification info from strings.xml file

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

* feat: replace workManager with alarmManager

Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

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

* feat: pass context parameter to AdvancedQuery, as it is needed

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android lib

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

* chore: add explanatory comment

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

* chore: update changelog

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

* RMET-3191 H&F Plugin - Use sensors for background jobs (Activity Recognition Transition API) (#111)

* feat: include necessary permissions for API 28 and below

Context: To use the Activity Recognition Transition API, we need to include this permission for API 28 (Android 9), and below. More info here: https://developer.android.com/codelabs/activity-recognition-transition#2

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

* feat: declare SCHEDULE_EXACT_ALARM permission in manifest

Context: We're using exact alarms to schedule background jobs to run, so we need to declare this permission in the AndroidManifest.xml file of the app.

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

* feat: request SCHEDULE_EXACT_ALARM permission when setting background job

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

* feat: handle SCHEDULE_EXACT_ALARM permission not being given when setting a background job

Context: As for the time being the only way we have to set background jobs to run is using exact alarms, if the permission is not given, then we should return an error.

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

* feat: ask for SCHEDULE_EXACT_ALARM permission before other ones

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

* feat: get foreground notification info from strings.xml file

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

* feat: replace workManager with alarmManager

Context: We're now using exact alarms for background jobs, so we need to use the AlarmManager.

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

* feat: pass context parameter to AdvancedQuery, as it is needed

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android lib

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

* chore: add explanatory comment

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

* chore: update changelog

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

* feat: only request SCHEDULE_EXACT_ALARM permission if variable requires it

Context: We only need the SCHEDULE_EXACT_ALARM permission if we want to use an exact alarm to setup the background job, and we only want to do that for variables that are not activity related (e.g. STEPS), since for those we can use the Activity Recognition Transition API instead, avoiding requesting a somewhat odd permission.

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

* fix: properly check if SCHEDULE_EXACT_ALARM permission is necessary

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

* refactor: remove unnecessary semicolon

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

* feat: use ActivityTransitionHelper from Android library

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

* chore: update dependency to H&F Android library

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

* feat: include play-services-services-location dependency through Gralde

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

* chore: remove unnecessary gradle dependency

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

* chore: update changelog

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

* chore: update dependency to H&F Android lib

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

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android library (#112)

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

* RMET-3246 H&F Plugin - Fix hook for ODC (#113)

* test: check if file name contains string

* chore: update dependency to H&F Android Lib

* refactor: remove console logs

* chore: update changelog

* RMET-3134 H&F Plugin - Remove old code (#114)

* chore: update dependency to H&F Android library

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

* chore: update dependency to H&F Android library

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

* chore: update lib dependency

* feat: remove old unused code

References: feat/RMET-3134/remove-old-code

* feat: remove old unused code

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

* fix: revert changes in previous commit

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

* fix: revert changes in previous commit

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

* chore: update OSHealthFitnessLib-Android version

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

* chore: update dependency to Android native library

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

* chore: update changelog

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

* RMET-3134 H&F Plugin - Minor fix for background jobs feature (#115)

* chore: update library dependency

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

* chore: update H&F Android lib version

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

* RMET-3134 H&F Plugin - Apply fix background job (#116)

* chore: update library dependency

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

* chore: update H&F Android lib version

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

* chore: update dependency to lib

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

* chore: remove unused stuff (#117)

Context: We don't use summary variables, so we might as well remove the parameter. Also, the new plugin version no longer offers the disconnectFromGoogleFit feature, as it was replaced by disconnectFromHealthConnect.

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

* refactor: update gson lib version (#119)

Context: Version 2.8.9 fixes a vulnerability found in 2.8.8 that was reported by Snyk.

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

* RMET-3134 H&F Plugin - Fix privacy policy opening for Android <= 13 (#120)

* fix: include activity alias for privacy policy manifest

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

* test: remove stuff from plugin.xml

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

* refactor: remove extra lines

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

* chore: update changelog

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

* RMET-3280 ::: iOS ::: Add Privacy Manifest (#118)

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

* chore: Update iOS library

This adds the Privacy Manifest to the Cordova plugin.

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

* chore: Add CHANGELOG entry

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* chore: update H&F Android library version (#121)

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

* RMET-3051 H&F - Prepare release of version 2.0.0 (#123)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

* chore: update H&F Android library version

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

* refactor: remove unused code

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

* Revert "Merge branch 'main' into feat/RMET-3051/prepare-release"

This reverts commit 129c1aa, reversing
changes made to f0e7b03.

* chore: update iOS library

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* Solve conflicts (#125)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* Final try (#127)

* Prepare release of version 1.4.0 (#95)

* chore: Add Unreleased Tag to CHANGELOG

* feat: iOS Workouts (#88)

Update Health and Fitness iOS library in order to include the new GetWorkoutsData feature.
Add required code to bridge the feature between the callers (OutSystems) and iOS.

* chore: Set Release Tag

Set release tag on the repo's CHANGELOG file.

* chore: Set Release Tag

Set release tag on the repo's package.json and plugin.xml files.

* chore: Update iOS Library (#90)

Update "OSHealthFitnessLib.xcframework" to the latest version to include the fix for the notification trigger (https://outsystemsrd.atlassian.net/browse/RMET-2689).

* chore: Update iOS Library (#91)

Update "OSHealthFitnessLib.xcframework" to the latest version to enable notification editing (https://outsystemsrd.atlassian.net/browse/RMET-2688).

* RMET-2723 Health & Fitness Plugin - Disconnect from google fit (#92)

* feat: add disconnectFromGoogleFit method

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

* chore: update library dependency

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

* chore: update changelog

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

* chore: update library version

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

* chore: update library version

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

* chore: Update iOS xcframework (#94)

Update to the 1.3.1 tag version.

* chore(release): raise to version 1.4.0

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

---------

Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>

* chore: add CODEOWNERS (#110)

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: Alexandre Jacinto <alexandre.jacinto@outsystems.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>

* chore: update changelog

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

* chore(release): raise to version 2.0.0 (#130)

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

---------

Signed-off-by: IT-MikeS <20338451+IT-MikeS@users.noreply.github.com>
Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>
Co-authored-by: hectorjdgdev <73396046+hectorjdgdev@users.noreply.github.com>
Co-authored-by: Chace Daniels <chaced12@gmail.com>
Co-authored-by: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com>
@alexgerardojacinto alexgerardojacinto deleted the feat/RMET-3191/background-activity branch May 9, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants