Prerequisites
Your app project must declare the required permission usage. This applies equally to native, Flutter, and React Native app projects.iOS projects
iOS projects
Add the following to your Bluetooth permission on iOS is automatically requested on the first scanning attempt.
Info.plist file:Android projects
Android projects
Add the following to your You will have to request the appropriate permissions in your app before you can call the Junction Devices SDK.
AndroidManifest.xml: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.Blood Pressure Monitor
Glucose Meter
Freestyle Libre 1
We currently support Libre 1 sensors via NFC readings. Please make sure you add NFC capabilities in your app:
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:
- the sensor information; and
- a list of glucose samples.
Upload device samples to Junction
This automatic behavior is available since Junction iOS SDK 1.0.0, Junction Android SDK 3.0.0, Junction Flutter SDK 4.0.0
and Junction React Native SDK 4.0.0.