react-native-spike-sdk 2.1.9 → 2.1.11

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 CHANGED
@@ -54,6 +54,8 @@ To add HealthKit support to your application's Capabilities.
54
54
 
55
55
  ![](https://archbee-image-uploads.s3.amazonaws.com/Gq3NSKcNtQuC0xEw-R9rS/m1edxa1O8BQ9j1xchz9Qq_signing-capabilities2x.png)
56
56
 
57
+ > 🚨 Expo: This package is not available in the [Expo Go](https://expo.io/client) app. Learn how you can use it with [custom dev clients](./Expo.md).
58
+
57
59
  More details you can find [here](https://developer.apple.com/documentation/healthkit/setting_up_healthkit).
58
60
 
59
61
  ### Info.plist
@@ -265,6 +267,14 @@ const data = await conn.extractAndPostData({
265
267
  });
266
268
  ```
267
269
 
270
+ ## Check HealthConnect availability (Android Only) <a name="health_connect_package"></a>
271
+
272
+ Check if Health Connect installed on a device.
273
+
274
+ ```javascript
275
+ const isPackageInstalled = await Spike.isPackageInstalled();
276
+ ```
277
+
268
278
  ## Background deliveries (iOS Only) <a name="background_deliveries"></a>
269
279
 
270
280
  Background delivery enables asynchronous data delivery to the customer backend by means of webhooks. It enables data updates to be sent to the backend even when the application is hidden or closed. Background delivery is only supported on iOS devices at the moment. Background deliveries will send whole day data to the webhook.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-spike-sdk",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "Spike API for health and productivity data from wearables and IoT devices",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -74,6 +74,9 @@
74
74
  "react": "*",
75
75
  "react-native": "*"
76
76
  },
77
+ "dependencies": {
78
+ "@expo/config-plugins": "^2.0.0"
79
+ },
77
80
  "engines": {
78
81
  "node": ">= 16.0.0"
79
82
  },
@@ -5,7 +5,7 @@ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = "react-native-spike-sdk"
8
- s.version = "2.1.9"
8
+ s.version = "2.1.11"
9
9
  s.summary = "Spike API for health and productivity data from wearables and IoT devices"
10
10
 
11
11
  s.description = <<-DESC