react-native-spike-sdk 2.1.10 → 2.1.12
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 +8 -0
- package/package.json +2 -2
- package/react-native-spike-sdk.podspec +1 -1
package/README.md
CHANGED
|
@@ -267,6 +267,14 @@ const data = await conn.extractAndPostData({
|
|
|
267
267
|
});
|
|
268
268
|
```
|
|
269
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
|
+
|
|
270
278
|
## Background deliveries (iOS Only) <a name="background_deliveries"></a>
|
|
271
279
|
|
|
272
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.
|
|
3
|
+
"version": "2.1.12",
|
|
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",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react-native": "*"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@expo/config-plugins": "^2.
|
|
78
|
+
"@expo/config-plugins": "^7.2.2"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">= 16.0.0"
|
|
@@ -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.
|
|
8
|
+
s.version = "2.1.12"
|
|
9
9
|
s.summary = "Spike API for health and productivity data from wearables and IoT devices"
|
|
10
10
|
|
|
11
11
|
s.description = <<-DESC
|