Skip to content

Commit c9e5b39

Browse files
Merge branch 'cph-cachet:master' into master
2 parents f5ccf43 + 310d13d commit c9e5b39

112 files changed

Lines changed: 10300 additions & 5335 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ These are the available plugins in this repository.
1212

1313
| Plugin | Description | Android | iOS | http://pub.dev/ |
1414
|--------|-------------|:-------:|:---:|:---------:|
15-
| [screen_state](./packages/screen_state) | Track screen state changes | ✔️ | | [![pub package](https://img.shields.io/pub/v/screen_state.svg)](https://pub.dartlang.org/packages/screen_state) |
15+
| [screen_state](./packages/screen_state) | Track screen state changes | ✔️ | ✔️ | [![pub package](https://img.shields.io/pub/v/screen_state.svg)](https://pub.dartlang.org/packages/screen_state) |
1616
| [light](./packages/light) | Track light sensor readings | ✔️ || [![pub package](https://img.shields.io/pub/v/light.svg)](https://pub.dartlang.org/packages/light) |
1717
| [pedometer](./packages/pedometer) | Track step count | ✔️ | ✔️ | [![pub package](https://img.shields.io/pub/v/pedometer.svg)](https://pub.dartlang.org/packages/pedometer) |
1818
| [noise_meter](./packages/noise_meter) | Read noise level in Decibel | ✔️ | ✔️ | [![pub package](https://img.shields.io/pub/v/noise_meter.svg)](https://pub.dartlang.org/packages/noise_meter) |

packages/health/CHANGELOG.md

Lines changed: 145 additions & 119 deletions
Large diffs are not rendered by default.

packages/health/README.md

Lines changed: 280 additions & 246 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Additional information about this file can be found at
2+
# https://dart.dev/guides/language/analysis-options
3+
4+
include: package:flutter_lints/flutter.yaml
5+
6+
analyzer:
7+
exclude: [build/**]
8+
language:
9+
strict-casts: true
10+
strict-inference: true
11+
strict-raw-types: true
12+
13+
linter:
14+
rules:
15+
cancel_subscriptions: true
16+
constant_identifier_names: false
17+
depend_on_referenced_packages: true
18+
avoid_print: true
19+
use_string_in_part_of_directives: true

packages/health/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dependencies {
5858
implementation("com.google.android.gms:play-services-auth:20.2.0")
5959

6060
// The new health connect api
61-
implementation("androidx.health.connect:connect-client:1.1.0-alpha06")
61+
implementation("androidx.health.connect:connect-client:1.1.0-alpha07")
6262
def fragment_version = "1.6.2"
6363
implementation "androidx.fragment:fragment-ktx:$fragment_version"
6464

packages/health/android/src/main/kotlin/cachet/plugins/health/HealthPlugin.kt

Lines changed: 4083 additions & 2280 deletions
Large diffs are not rendered by default.

packages/health/example/android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
<uses-permission android:name="android.permission.health.WRITE_RESPIRATORY_RATE"/>
6161
<uses-permission android:name="android.permission.health.WRITE_NUTRITION"/>
6262
<uses-permission android:name="android.permission.health.READ_NUTRITION"/>
63+
<uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY"/>
64+
<uses-permission android:name="android.permission.health.WRITE_HEART_RATE_VARIABILITY"/>
65+
<uses-permission android:name="android.permission.health.BODY_SENSORS"/>
66+
<uses-permission android:name="android.permission.health.READ_MENSTRUATION"/>
67+
<uses-permission android:name="android.permission.health.WRITE_MENSTRUATION"/>
6368

6469
<application android:label="health_example"
6570
android:icon="@mipmap/ic_launcher">

packages/health/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

packages/health/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
97C146E61CF9000F007C117D /* Project object */ = {
172172
isa = PBXProject;
173173
attributes = {
174-
LastUpgradeCheck = 1430;
174+
LastUpgradeCheck = 1510;
175175
ORGANIZATIONNAME = "The Chromium Authors";
176176
TargetAttributes = {
177177
97C146ED1CF9000F007C117D = {

packages/health/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)