NAV
Changelog
2.13
- Added ability to enable logs programmatically. Logs are encrypted. Logs are disabled on each init call.
- Starting operation no longer stops other ones. For instance, staring collect doesn't stop scan operation, but stops previous collect operation.
iOS
NSNumber
fields in MedMDeviceKitConfig
are now NSInteger
.
2.11.881
Android
- Starting from Android 13 DeviceKit no longer can control the state of bluetooth.
- Added ability to check the current bluetooth state and listen to its changes.
- Added ability to disable automatic bluetooth control for older Android versions.
- Added
onBluetoothTurnedOff
to IErrorCallback
.
onPermissionsRequired
is now notified on MedMCollector.start()
even if there are no devices added.
2.11.876
iOS
- Added ability to check the current bluetooth state and listen to its changes. Notification that bluetooth is off is now happens the moment it was turned off.
- Added
onBluetoothUnauthorized
to ErrorCallback
to notify that user denied the app access to bluetooth.
2.11.517
- Added realtime spirometry notification
2.11.421
- Added nullability annotations to some fields.
- Updated device fields descriptions with info when they are present.
Android
- Adapted library for Android 12. It no longer requires
ACCESS_COARSE_LOCATION
, ACCESS_FINE_LOCATION
, or location services on Android 12. Instead, BLUETOOTH_SCAN
and BLUETOOTH_CONNECT
permissions are required.
2.11
- Introduced methods to set callbacks for
MedMCollector
and MedMScanner
. start()
methods with callback arguments are deprecated.
- Implemented multiple device filter for
MedMCollector
- Added support for device settings set: see
IDeviceDescription.getSettings()
Android
- Added library version to the name.
Migration: Replace implementation 'com.medm.devicekit:MedMDeviceKit@aar'
with implementation 'com.medm.devicekit:MedMDeviceKit:+@aar'
(Or specific version instead of +)
- Added all architectures. Currently present architectures:
arm64-v8a
, armeabi-v7a
, x86
, x86_64
.
- Added
IErrorCallback
which notifies missing permissions. Currently checks for ACCESS_COARSE_LOCATION
, ACCESS_FINE_LOCATION
, location services.
iOS
- Migrated to
xcframework
. It now includes a version for the simulator as well.
Migration: Remove framework
file and add xcframework
file.
- Added
ErrorCallback
which notifies if Bluetooth is off.