Prerequisites

Your app project must declare the required permission usage. This applies equally to both native, Flutter and React Native app projects.

Bluetooth devices

Choose Device Model

The SDK provides a list of supported Bluetooth devices. Select the matching instance to prepare for scanning.

Scanning for devices

First you have to scan for one of the supported devices.

Depending on the type of device you are connecting to, you will have to call different methods to connect to it.

Blood Pressure Monitor

Glucose Meter

After you have received samples depending on the type of device you might need to star scanning again to receive the next set of samples.

Freestyle Libre 1

Readings taken with the SDK are not guaranteed to match the official Freestyle Libre app. This mismatch happens due to the algorithm difference used by us, compared to the official Freestyle Libre.

We currently support Libre 1 sensors via NFC readings. Please make sure you add NFC capabilities in your app:

Also add the key NFCReaderUsageDescription in your info.plist. This key should explain why your app needs to use NFC.

To use the reader:

read() returns a result object with two fields:

  1. the sensor information; and
  2. a list of glucose samples.

Posting device samples to Vital

Vital Devices SDK does not automatically send the samples back to Vital data store.

To ensure that data are available, you would need to post the samples through the SDK: