The SDK uses the "Near Field Communication Tag Reading" capability. Add this to your capabilities and add Privacy-NFC Scan Usage Description
as a key to your project's Info.plist
.
To use a custom message, add a String field Terra - NFC Scan Request Message
to your Info.plist
You can activate a sensor using
activateSensor(completion: @escaping (Bool) -> Void)
For reading a sensor you may use:
readGlucoseData(completion: @escaping (FSLSensorDetails) -> Void)
FSLSensorDetails
is a data struct for the data returned by the sensor. For more details checkout the iOS SDK Reference.
TerraGlucoseData
follows the same structure as shown in our glucose data field from our models