Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

. #4

Open
wants to merge 674 commits into
base: master
Choose a base branch
from
Open

. #4

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
674 commits
Select commit Hold shift + click to select a range
6827351
updated info about Google Fit API
dariosalvi78 Apr 8, 2021
acf8f23
Changes package visibility in Android 11
marioshtika Apr 9, 2021
f156f1c
Merge pull request #210 from marioshtika/master
dariosalvi78 Apr 9, 2021
8ca65ce
release 2.0.1
dariosalvi78 Apr 12, 2021
0f6cf33
Update Google Play Service API versions
francordie Apr 29, 2021
dc69c36
Merge pull request #211 from francordie/patch-1
dariosalvi78 Apr 30, 2021
125ec5d
release 2.0.2
dariosalvi78 May 5, 2021
2f53333
Retrive sleep data from Google Fit
mschristo Jun 22, 2021
d37114c
Map sleepSegmentType integer to appropriate string
mschristo Jun 22, 2021
5755577
Update sleep data categories mapping
mschristo Jun 22, 2021
0c59da5
Merge pull request #219 from mschristo/master
dariosalvi78 Jun 22, 2021
e8f77ab
Update iOS activity types with latest types (iOS 14 and deprecations)
albertinad Jul 21, 2021
8e05776
Updating activities_map.md with latest activities changes
albertinad Jul 21, 2021
83a49c7
Adding tai_chi as new activity type
albertinad Jul 21, 2021
7ea2be9
Merge pull request #221 from Fitmoola/ios-update-activities
dariosalvi78 Jul 21, 2021
cc1434d
Fix workout energy value formatting when it is greater than 1000kcal
albertinad Jul 28, 2021
a9c488e
Merge pull request #222 from Fitmoola/fix/ios-kcal-formatting
dariosalvi78 Jul 28, 2021
c0cc00d
git strange stuff
dariosalvi78 Jul 30, 2021
3190ed2
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Jul 30, 2021
50c82da
release 0.2.3
dariosalvi78 Jul 30, 2021
d0ccd6f
Add Oxygen saturation.
lnelson-videra Sep 10, 2021
a0d75dd
Fix embarassing problem...
lnelson-videra Sep 12, 2021
99a6640
Merge pull request #224 from Luke1298/oxygen_saturation
dariosalvi78 Sep 12, 2021
6ba7529
android fit activity revision
noktilux Oct 18, 2021
688b1f4
Merge pull request #232 from noktilux/master
dariosalvi78 Oct 18, 2021
24d99a9
fixes #241
dariosalvi78 Jan 15, 2022
40ec19a
Add weightCircumference data type
rafaellop Jan 15, 2022
1b7ac2d
Add weightCircumference to README
rafaellop Jan 16, 2022
c2c5e72
Merge pull request #243 from rafaellop/master
dariosalvi78 Jan 16, 2022
41404ee
Add systolic and disastolic blood pressure types
rafaellop Jan 19, 2022
d7dc3a0
Define unit for systolic and diastolic
rafaellop Jan 19, 2022
76f5c3b
Update systolic/diastolic in ReadMe
rafaellop Jan 19, 2022
fe5a752
Merge pull request #245 from rafaellop/master
dariosalvi78 Jan 19, 2022
a4badda
Update readme for android quirks
wongpeiyi Mar 11, 2022
7518e1c
Merge pull request #250 from wongpeiyi/update-readme-for-android
dariosalvi78 Mar 11, 2022
369631a
Update README.md
rafaellop Mar 16, 2022
4f65364
Merge branch 'dariosalvi78:master' into master
rafaellop Mar 16, 2022
97d8db2
Merge pull request #252 from rafaellop/master
dariosalvi78 Mar 16, 2022
3e9972a
Fix configurations to automatically enable HealthKit capability
marioshtika May 30, 2022
8a881fd
Added null check for err and err.getCause() with addOnFailureListener
randnetdd May 30, 2022
5e78cc6
Merge pull request #257 from marioshtika/master
dariosalvi78 May 30, 2022
92d7905
Merge pull request #258 from randnetdd/master
dariosalvi78 May 30, 2022
f9a60e1
Added BMI to Supported data types
randnetdd Jun 2, 2022
98a36cd
Merge pull request #259 from randnetdd/master
dariosalvi78 Jun 2, 2022
8f758ae
Add support for other sleep states introduces with WatchOS 9
Oct 11, 2022
58751bc
Merge pull request #264 from mley/add-new-healthkit-sleep-states
dariosalvi78 Oct 11, 2022
2b26edd
fixing parsing issue with oxygen saturation
dariosalvi78 Oct 18, 2022
6fcdbe8
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Oct 18, 2022
c1c0777
release 2.0.4
dariosalvi78 Oct 18, 2022
31701d2
fixed bug with missing enum in Android
dariosalvi78 Oct 19, 2022
e56c441
release 2.0.5
dariosalvi78 Oct 19, 2022
c7e9e48
fixes #120
dariosalvi78 Oct 20, 2022
0c72d11
fixes #142
dariosalvi78 Oct 20, 2022
f38c60f
Set StreamIdentifier to sourceBundleId if DataSource's AppPackageName…
randnetdd Oct 29, 2022
d93f40f
Merge pull request #269 from randnetdd/master
dariosalvi78 Oct 29, 2022
5adacca
Update README.md
dariosalvi78 Oct 29, 2022
349b221
updated changelog
dariosalvi78 Dec 21, 2022
d425ff8
added storing of sleep stages on android
dariosalvi78 Dec 21, 2022
e820430
bumping api versions
dariosalvi78 Dec 21, 2022
40c5575
removed sourcename check in android (unused feature)
dariosalvi78 Dec 22, 2022
2579379
added sleep sessions in simple query
dariosalvi78 Dec 22, 2022
952eeca
added sleep sessions in simple query
dariosalvi78 Dec 22, 2022
87e50fc
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Dec 22, 2022
1fe032e
optional calories and distance when querying activity on Fit
dariosalvi78 Dec 22, 2022
83a913d
added check that data types must be in array in Fit + style
dariosalvi78 Dec 22, 2022
efb6bfb
making sleep an independent on iOS
dariosalvi78 Dec 22, 2022
9d25414
calories and distance is optional for activities in iOS
dariosalvi78 Dec 22, 2022
75453b2
updated docs
dariosalvi78 Dec 22, 2022
1db53d9
updated docs
dariosalvi78 Dec 22, 2022
e4d5f8c
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Dec 22, 2022
e41e662
release 2.1.0
dariosalvi78 Dec 22, 2022
7209b4e
added workout duration in iOS, closes #251
dariosalvi78 Dec 22, 2022
fc5a1a1
added separate filter for user input
Mar 13, 2023
cbf101d
added filterOutUserInput to README, and to query()
Mar 13, 2023
d311b93
Merge pull request #278 from jschramk/filter_user_input
dariosalvi78 Mar 14, 2023
767a9c4
Oxygen Saturation update for Google Fit; Closes #277
ChandraTejoma Mar 15, 2023
afb28bd
Merge pull request #279 from ChandraKAV/oxysat-gfit-update
dariosalvi78 Mar 15, 2023
f1014f3
Merge pull request #1 from dariosalvi78/master
ChandraKAV Jun 16, 2023
3788f7a
Body temperature implementation for Google Fit
ChandraTejoma Jun 16, 2023
f200fd2
correction in store function; using temperature data type from Health…
ChandraTejoma Jun 16, 2023
49b6c72
Merge pull request #287 from ChandraKAV/bodytemp-gfit-update
dariosalvi78 Aug 17, 2023
a83d58c
Location permissions update; Closes #297
ChandraTejoma Sep 5, 2023
3dfd633
Merge pull request #298 from ChandraKAV/coarse-location-access
dariosalvi78 Sep 5, 2023
b07589c
updated readme
dariosalvi78 Nov 8, 2023
6845f25
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Nov 8, 2023
92349a9
start of health connect porting, includes privacy policy activity
dariosalvi78 Nov 12, 2023
130ee4b
working example with request for steps!
dariosalvi78 Nov 12, 2023
d941210
added query and aggregated query
dariosalvi78 Nov 15, 2023
2d71009
aggregation by week and hour
dariosalvi78 Nov 15, 2023
8309dc7
added store function
dariosalvi78 Nov 15, 2023
f3ae04b
added store function
dariosalvi78 Nov 15, 2023
96136ba
added delete method
dariosalvi78 Nov 17, 2023
56796cb
Merge branch 'healthconnect' of https://github.com/dariosalvi78/cordo…
dariosalvi78 Nov 17, 2023
fb636ec
missing java code...
dariosalvi78 Nov 17, 2023
173d269
considerations about deleting by id in iOS
dariosalvi78 Nov 17, 2023
0420a8a
adding weight
dariosalvi78 Nov 17, 2023
2f80477
working weight support
dariosalvi78 Nov 17, 2023
6f7c970
added changelog
dariosalvi78 Nov 17, 2023
15be95e
just renaming
dariosalvi78 Nov 17, 2023
a2f8dae
added body fat
dariosalvi78 Nov 17, 2023
437f537
integrating activities
dariosalvi78 Nov 19, 2023
db982ed
store and query activities
dariosalvi78 Nov 19, 2023
5db2ac9
adding support for activities in queries
dariosalvi78 Nov 20, 2023
b138eaf
adding active calories
dariosalvi78 Nov 20, 2023
fe65c45
loading plugin inside oncreate
dariosalvi78 Nov 20, 2023
19801b3
new permissions system mandatory in android 14
dariosalvi78 Nov 20, 2023
2559415
adding calories basal
dariosalvi78 Nov 20, 2023
da2fa81
working calories basal
dariosalvi78 Nov 20, 2023
2e576a2
do not include device if not available
dariosalvi78 Nov 20, 2023
4ac24a3
including calories and OR distance with activities
dariosalvi78 Nov 21, 2023
b80771d
navigator - cordova.plugins
dariosalvi78 Nov 21, 2023
0b2afa0
release 2.1.1
dariosalvi78 Nov 21, 2023
e97521a
more explanations about android manifest file
dariosalvi78 Nov 21, 2023
d42709a
Merge branch 'master' into healthconnect
dariosalvi78 Nov 21, 2023
1c4d208
release 3.0.0
dariosalvi78 Nov 21, 2023
295228e
adding deps in package.json
dariosalvi78 Nov 21, 2023
3f9e41e
remove mentions to Google Fit
dariosalvi78 Nov 21, 2023
668fc3e
instructions for capacitor
dariosalvi78 Dec 2, 2023
e828b94
better structured readme
dariosalvi78 Dec 2, 2023
2f898cf
converting dates to ISO8601, fixes #301
dariosalvi78 Dec 4, 2023
c37f82c
just added a check on iOS version
dariosalvi78 Dec 4, 2023
547af89
fixed issues with iOS due to new plugin config
dariosalvi78 Dec 4, 2023
10794dd
release 3.0.1
dariosalvi78 Dec 4, 2023
6c8d6d2
updated changelog
dariosalvi78 Dec 18, 2023
0495919
fixes #304
dariosalvi78 Jan 22, 2024
cc9f94a
udpated readme
dariosalvi78 Jan 22, 2024
4fca676
fixes bug in delete
dariosalvi78 Jan 22, 2024
bc7865e
release 3.0.2
dariosalvi78 Jan 22, 2024
b309b89
support for blood glucose + little refactoring, fixes #307
dariosalvi78 Jan 22, 2024
b289f7e
put some iOS only datatypes back in readme
dariosalvi78 Jan 22, 2024
74e4679
missing glucose permissions
dariosalvi78 Jan 22, 2024
27bbe79
typos in readme
dariosalvi78 Jan 22, 2024
de5816a
added support for distance
dariosalvi78 Jan 28, 2024
87a1f12
added support for distance
dariosalvi78 Jan 28, 2024
c1f6a21
added height support
dariosalvi78 Jan 28, 2024
394d5b2
adding more debug info
dariosalvi78 Jan 28, 2024
1ccfbfd
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Jan 28, 2024
eb31e28
release 3.0.3
dariosalvi78 Jan 28, 2024
ac4bfba
Add mapping for 'calories' to 'TotalCaloriesBurnedRecord' for HealthC…
MrJustreborn Jan 30, 2024
30340ae
Added TotalCaloriesBurnedRecord to all needed places
MrJustreborn Jan 31, 2024
f16ba26
Merge pull request #315 from MrJustreborn/totalCalBurned
dariosalvi78 Jan 31, 2024
5aeb205
added info about total calories on readme
dariosalvi78 Jan 31, 2024
bb3c48d
release 3.0.4
dariosalvi78 Jan 31, 2024
cfce377
Update HealthPlugin.java - delete args
BenLaKnet Feb 2, 2024
0fa5e7f
Merge pull request #319 from BenLaKnet/patch-1
dariosalvi78 Feb 2, 2024
ae714f0
starting to add sleep in Android
dariosalvi78 Feb 2, 2024
07f7ebb
implementing sleep on Android
dariosalvi78 Feb 6, 2024
5694cf2
added permissions for sleep, and a bit of sorting
dariosalvi78 Feb 6, 2024
9859224
added sleep functions as source file
dariosalvi78 Feb 6, 2024
66d3fc9
changelog update
dariosalvi78 Feb 6, 2024
cebf635
removed unused things
dariosalvi78 Feb 6, 2024
0ea1c39
refactoring blood glucose into separate file
dariosalvi78 Feb 6, 2024
a149a95
supporting case with no sleep stages + refactoring
dariosalvi78 Feb 6, 2024
6daa0c0
bug fixes in query of sleep data
dariosalvi78 Feb 6, 2024
f4295df
convert dates in sleep sessions
dariosalvi78 Feb 6, 2024
33875a5
concatenating fasting with a meal is now possible
dariosalvi78 Feb 6, 2024
f60c1a3
release 3.1.0
dariosalvi78 Feb 6, 2024
08c9345
refactoring steps into its own file
dariosalvi78 Feb 6, 2024
1b4b7a7
refactoring weight and adding aggregate weight
dariosalvi78 Feb 6, 2024
a634241
refactoring of height
dariosalvi78 Feb 6, 2024
c702781
missing permissions for total calories. see #314
dariosalvi78 Feb 7, 2024
4a7fa08
removed android manifest permissions from plugin, fixes #321
dariosalvi78 Feb 8, 2024
ad9d419
example of android permissions in config.xml
dariosalvi78 Feb 9, 2024
a349f80
mistake in readme fixed
dariosalvi78 Feb 9, 2024
d056164
missing configs for gradle
dariosalvi78 Feb 9, 2024
705b74b
adding heart rate for android
dariosalvi78 Feb 10, 2024
bf10e6b
missing plugin file
dariosalvi78 Feb 10, 2024
69dbdbb
bugfixes with hr
dariosalvi78 Feb 11, 2024
8855d20
fixed bug in aggregated hr
dariosalvi78 Feb 13, 2024
4ef58ee
release 3.1.1
dariosalvi78 Feb 13, 2024
24834c4
added support for aggregated heart rate in iOS
dariosalvi78 Feb 20, 2024
50bc910
Make window.location.href available in privacypolicy.html
randnetdd Feb 20, 2024
e5d023e
fixes #323
dariosalvi78 Feb 21, 2024
744f5e4
Merge pull request #322 from randnetdd/master
dariosalvi78 Feb 22, 2024
deb8e20
added openHealthSettings in Android see #320
dariosalvi78 Feb 22, 2024
ac08aa4
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Feb 22, 2024
3558e2f
added support for open health app in iOS closes #320
dariosalvi78 Feb 22, 2024
e86ddcc
notes about permissions counter in Android
dariosalvi78 Feb 22, 2024
f9d06b3
adding the PP URL in a resource file see #324
dariosalvi78 Feb 22, 2024
b9772f5
undoing previous hack see #324
dariosalvi78 Feb 22, 2024
565414e
removing setPrivacyPolicy method
dariosalvi78 Feb 22, 2024
6fa8ff6
documenting changes
dariosalvi78 Feb 22, 2024
a81c327
Update README.md
dariosalvi78 Feb 23, 2024
174eb33
Update README.md
dariosalvi78 Feb 23, 2024
e33505f
Update README.md
dariosalvi78 Feb 23, 2024
55f49d7
adding openHealthSettings in iOS
dariosalvi78 Mar 13, 2024
7a3455a
adding openHealthSettings in iOS
dariosalvi78 Mar 13, 2024
1f0d1f7
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Mar 13, 2024
89449eb
release 3.2.0
dariosalvi78 Mar 13, 2024
54eecea
Update HealthPlugin.java - openHealthSettings
BenLaKnet Jul 2, 2024
214675a
Merge pull request #330 from BenLaKnet/patch-2
dariosalvi78 Jul 2, 2024
beb85e9
release 3.2.1
dariosalvi78 Jul 25, 2024
791c117
Add query parameters to retrieve heart-rate and route data of activit…
Aug 23, 2024
babf5ce
Merge pull request #333 from mley/query-track-and-heartrate
dariosalvi78 Aug 27, 2024
203a3ee
support nutrition
asivaneswaran Sep 10, 2024
837b8c1
adjust for ios conventions
asivaneswaran Sep 10, 2024
e1f5508
rename name to item
asivaneswaran Sep 10, 2024
3f8ffe9
Merge pull request #339 from asivaneswaran/master
dariosalvi78 Sep 18, 2024
aa015e2
documenting nutrition
dariosalvi78 Sep 19, 2024
d4f59b8
release 3.2.2
dariosalvi78 Sep 19, 2024
bc16771
Add files via upload
BenLaKnet Oct 31, 2024
ce6877f
Add files via upload
BenLaKnet Oct 31, 2024
899d71c
updates package-lock version to 3.2.2
jmalfatto Nov 5, 2024
1e43dfe
nutrition fixes + added sugar (#1)
jmalfatto Nov 5, 2024
2c8510b
adds nutrition.water support to android (#2)
jmalfatto Nov 6, 2024
a223f86
Update plugin.xml
BenLaKnet Nov 8, 2024
d5bca7a
Fix minor typo in README
samtate Nov 9, 2024
0d3afd4
Fix Nutrition Functions not imported
samtate Nov 9, 2024
a5445f8
Fix illegal expressions in Nutrition Functions
samtate Nov 9, 2024
0655d05
Add NutritionRecord import
samtate Nov 9, 2024
c8472e0
Fix populareFromQuery requiring 2 unused args
samtate Nov 9, 2024
b3a8b9f
Import NutritionRecord to NutritionFunctions
samtate Nov 9, 2024
700f20a
Futher fix to Nutrition
samtate Nov 9, 2024
2f912be
further fixes
samtate Nov 9, 2024
71ea37a
Fix prepareStoreRecords function attempt
samtate Nov 9, 2024
5dd1195
Fix type from previous commit
samtate Nov 9, 2024
e6cb852
Fix type again
samtate Nov 9, 2024
aff66c3
Add startTime and endTime to NutritionRecord
samtate Nov 9, 2024
a1fd01d
Fix function calls in Nutrition
samtate Nov 9, 2024
8380863
Tweak getter function names to match docs
samtate Nov 9, 2024
d27b98c
Fix Nutrition time getters
samtate Nov 9, 2024
1c46bf2
Modifications of NutritionFunctions
BenLaKnet Nov 9, 2024
680cc67
Fix endTime actually returning startTime
samtate Nov 9, 2024
b06af42
Fix mealtype
samtate Nov 9, 2024
18c45df
Merge pull request #348 from samtate/fix-nutrition
dariosalvi78 Nov 9, 2024
4e11bae
Merge pull request #346 from samtate/readme-typo
dariosalvi78 Nov 9, 2024
53a10fd
adds support for vitals data types in android (#3)
jmalfatto Nov 11, 2024
10c7261
refactors new android nutrition and heart_rate functions (#4)
jmalfatto Nov 12, 2024
2442635
Merge remote-tracking branch 'upstream/master'
jmalfatto Nov 13, 2024
e6c7c6f
Merge branch 'master' into master
dariosalvi78 Nov 14, 2024
0b96671
Merge pull request #343 from BenLaKnet/master
dariosalvi78 Nov 14, 2024
e867414
Merge branch 'master' into master
dariosalvi78 Nov 14, 2024
6e25965
Merge pull request #349 from jmalfatto/master
dariosalvi78 Nov 14, 2024
0a1e2e2
made nutrition coherent with ios
dariosalvi78 Nov 14, 2024
10d89ca
Merge branch 'master' of https://github.com/dariosalvi78/cordova-plug…
dariosalvi78 Nov 14, 2024
5d2e461
adding blood pressure
dariosalvi78 Nov 14, 2024
1cd99e5
not sure..
dariosalvi78 Nov 14, 2024
cea5eef
fixed issue in copy files
dariosalvi78 Nov 14, 2024
eb918c7
boosting health connect version
dariosalvi78 Nov 14, 2024
616ca45
fixing nutrition on Android (only compound, missing nutrition.x)
dariosalvi78 Nov 14, 2024
c376413
added support for hydration and nutrition.x
dariosalvi78 Nov 14, 2024
d641276
updated version of the SDK
dariosalvi78 Nov 15, 2024
01e2bf3
updated nutrition functions
dariosalvi78 Nov 15, 2024
743d13b
blood pressure checked
dariosalvi78 Nov 15, 2024
e180082
fixed issue with hydration aggregated
dariosalvi78 Nov 15, 2024
03063b2
added added aggregation for blood pressure
dariosalvi78 Nov 15, 2024
088254d
fixes #344
dariosalvi78 Nov 15, 2024
1fb4b07
release 3.2.3
dariosalvi78 Nov 15, 2024
2dee3d7
updatedd changelog
dariosalvi78 Nov 15, 2024
65a8764
updating versions on readme
dariosalvi78 Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org

root = true

[*.js]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea
*.iml
*.iml
__TEST
.DS_Store
233 changes: 233 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
Log of changes
==============

### v3.2.3

* included blood_pressure
* added body_position and location to blood_glucose on Android
* more complete support for nutrition on Android (not 100% of nutrients covered yet)
* updated version of HealthConnect SDK

### v3.2.2

* include route and heart rate in workouts, on iOS only
* partial support for nutrition on iOS and Android

### v3.2.1

* bugfixes

### v3.2.0

* added support for aggregate heart rate in iOS
* added function to open the Health app in both Android and iOS
* [Breaking change] removed setPrivacyPolicyURL in Android. Now the URL is placed in a resource xml file.

### v3.1.1

* [Breaking change] removed permissions for AndroidManifest.xml from plugin.xml, now permissions must be set in config.xml
* better explained how to setup Android project, particularly gradle
* added heart_rate in Android

### v3.1.0

* added support for sleep in Android
* refactoring of Android plugin: data types support split into separate files
* [Breaking change] the blood glucose meal should be now fasting_MEAL, where MEAL can be lunch, dinner, etc. By default fasting_ should go with unknown: fasting_unknown.


### v3.0.4

* added support for total calories

### v3.0.3

* added support for blood_glucose, distance and height
* redocumented support for gender, date_of_birth, bmi, mindfulness and UVexposure on iOS


### v3.0.2

* bugfixes

### v3.0.1

* bugfixes
* return ISO8601 when parsing dates from HealthKit

### v3.0.0

* [Breaking change] plugin is now accessed from `cordova.plugins.healt`
* [Breaking change] authorization is asked using the `read` and `write` properties only
* [Breaking change] total calories have been removed, now you either treat active or basal ones
* [Breaking change] when querying for activities, you can specify `includeCalories` and `includeDistance` separately

* Added following activities:
* bootcamp
* stretching
* dancing.cardio
* exercise_class
* strength_training.functional
* guided_breathing
* Removed following activities:
* aerobics
* biathlon
* biking.hand
* biking.mountain
* biking.road
* biking.spinning
* biking.utility
* circuit_training
* diving
* elevator
* ergometer
* escalator
* functional_strength
* gardening
* housework
* in_vehicle
* interval_training
* kayaking
* kettlebell_training
* kick_scooter
* kitesurfing
* martial_arts.mixed
* on_foot
* p90x
* polo
* running.jogging
* running.sand
* skateboarding
* skating.cross
* skating.indoor
* skating.inline
* skiing.back_country
* skiing.kite
* skiing.roller
* sledding
* sleep (all types)
* snowmobile
* standup_paddleboarding
* still
* stairs
* team_sports
* tilting
* unknown
* volleyball.beach
* volleyball.indoor
* wakeboarding
* walking.fitness
* walking.nordic
* walking.treadmill
* walking.stroller
* treadmill
* windsurfing
* zumba


### v2.1.1

* added duration in activities when present (iOS)
* added flag `filterOutUserInput` on iOS
* oxygen saturation on Android
* body temeprature on Android


### v2.1.0

* bumped version of Google Play APIs
* added separate sleep datatype for Android and iOS (**API change**)
* added sleep sessions in simple query for "sleep" data type for Android
* distance and calories are optional when querying activity (**API change**)
* bugfixing


### v2.0.5

* bugfixes


### v2.0.4

* added oxygen saturation for Android and iOS
* added weight circumference for iOS
* added blood pressure for iOS
* added BMI for iOS
* enable HealthKit automatically in iOS


### v2.0.3

* added separate sleep data from Google Fit
* updated activity types in iOS (removed depecrated ones and added new ones)
* fixed energy in activity when > 1000 Kcal


### v2.0.2

* increased Google APIs to Play: 19.0.0 and Fit: 20.0.0


### v2.0.1

* added read scope to write scope in Android
* added packages queries for Android
* updated README


### v2.0.0

* [Breaking change]: the date of birth and gender have been removed from GoogleFit custom datatypes, you need to store these using your app's persistent mechanism
* [Breaking change]: sourceName has been removed from GoogleFit
* bumped Google Fit API version to 19.0.0
* fixed bug with water consumption unit in Android


### v1.1.5

* allows longer durations of buckets in Android
* remove Java annotations


### v1.1.4

* added mindfulness, heart_rate.resting, resp_rate, vo2max, temperature, iOS only for now


### v1.1.3

* some bugfixes
* Google services version locked to specific version but changeable


### v1.1.2

* minor bugfix


### v1.1.1

* do not ask for read permission when storing workouts on iOS
* added heart rate variability (iOS only)
* added stairs (iOS only)


### v1.1.0

* support for latest Google Fit auth mechanism for health data
* added support for 'limit' in query() on Android too
* Android and iOS return the same object when queried for activity


### v 1.0.5

* updated README
* added `filtered` flag to steps also for iOS (but only in aggregatedQuery)
* added `appleExerciseTime` in datatypes (store and query) only on iOS
* added support for blood pressure store and query on both Android and iOS


### v 1.0.4

* updated README with better documentation
* minor bug fixes
Empty file modified LICENSE
100644 → 100755
Empty file.
Loading