Skip to content

Commit

Permalink
Add several more health connect sensors (#4785)
Browse files Browse the repository at this point in the history
* Add several more health connect sensors

* Update sleep sensor logic to pull from record, update aggregate sensors to properly reset at midnight, convert some sensors to aggregate

* Clean up

* Clean up more

* Add blood glucose sensor and correct read request

* Tweak string
  • Loading branch information
dshokouhi authored Nov 7, 2024
1 parent d926a7d commit 2264dfb
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 51 deletions.
7 changes: 7 additions & 0 deletions app/src/full/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
<uses-permission android:name="com.google.android.gms.permission.CAR_SPEED" />
<uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED" />
<uses-permission android:name="android.permission.health.READ_HEART_RATE" />
<uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE" />
<uses-permission android:name="android.permission.health.READ_BODY_FAT" />
<uses-permission android:name="android.permission.health.READ_DISTANCE" />
<uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED" />
<uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED" />
<uses-permission android:name="android.permission.health.READ_SLEEP" />
<uses-permission android:name="android.permission.health.READ_STEPS" />
<uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED" />
<uses-permission android:name="android.permission.health.READ_WEIGHT" />

Expand Down
Loading

0 comments on commit 2264dfb

Please sign in to comment.