react-native-health-connect 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/android/build.gradle +1 -0
- package/android/proguard-rules.pro +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,8 @@ This library is a wrapper around Health Connect for react native. Health Connect
|
|
|
21
21
|
|
|
22
22
|
- [Health Connect](https://play.google.com/store/apps/details?id=com.google.android.apps.healthdata&hl=en&gl=US) needs to be installed on the user's device. Starting from Android 14 (Upside Down Cake), Health Connect is part of the Android Framework. Read more [here](https://developer.android.com/health-and-fitness/guides/health-connect/develop/get-started#step-1).
|
|
23
23
|
- Health Connect API requires `minSdkVersion=26` (Android Oreo / 8.0).
|
|
24
|
-
- If you are planning to release your app on Google Play, you will need to submit a [declaration form](https://docs.google.com/forms/d/1LFjbq1MOCZySpP5eIVkoyzXTanpcGTYQH26lKcrQUJo/viewform?edit_requested=true).
|
|
24
|
+
- If you are planning to release your app on Google Play, you will need to submit a [declaration form](https://docs.google.com/forms/d/1LFjbq1MOCZySpP5eIVkoyzXTanpcGTYQH26lKcrQUJo/viewform?edit_requested=true). Approval can take up to 7 days.
|
|
25
|
+
- Approval does not grant you immediate access to Health Connect. A whitelist must propagate to the Health Connect servers, which take an additional 5-7 business days. The whitelist is updated every Monday according to Google Fit AHP support.
|
|
25
26
|
|
|
26
27
|
## Installation
|
|
27
28
|
|
package/android/build.gradle
CHANGED
|
@@ -46,6 +46,7 @@ android {
|
|
|
46
46
|
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
|
|
47
47
|
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
|
|
48
48
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
|
49
|
+
consumerProguardFiles "proguard-rules.pro"
|
|
49
50
|
}
|
|
50
51
|
buildTypes {
|
|
51
52
|
release {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
-keep class dev.matinzd.healthconnect.records.** { *; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-health-connect",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "React native library for health connect (Android only)",
|
|
5
5
|
"funding": "https://github.com/matinzd/react-native-health-connect?sponsor=1",
|
|
6
6
|
"main": "lib/commonjs/index",
|