Android Native Libraries Released - October 28, 2021
Android Full Library v1.13.0-alpha
Android Aggregator Library v1.13.0-alpha
Android LifeScan OneTouch Library v1.13.0-alpha
Android Native Changes
General
Bump Android Gradle plugin to 7.0.3
Require Java 8 targetCompatibility
Add support for Android 12
Support required FLAG_IMMUTABLE and FLAG_MUTABLE for PendingIntent flags
Bump WorkManager version to 2.7.0-alpha05 for Android 12 support with PendingIntents
new ValidicInitializer androidx.startup Intializer that automatically calls ValidicMobile.getInstance().initialize(context). This call is deprecated and will be removed in the future.
Support for Android 5 (Lollipop) - 7.x (Nougat) will end in mid-Q1 2022 - an exact date is to be announced. Android 8 and up will continue to be supported by our hard-working implementation and support teams.
Bluetooth
This Bluetooth framework is an alpha release of our Android 12 support. Please provide our support team (support@validic.com) with any feedback you have on the Bluetooth framework API changes in this release.
Bump RxAndroidBLE dependency to v1.13.0
Improve Foracare IR 20b Read success when failing to disconnect
Add new dependencies for Kotlin coroutines and rxjava2. Several files have been converted to kotlin.
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:1.5.1"Converted Several public interfaces to Kotlin. Adjusted nullability.
New BluetoothRequests public api for interacting with Bluetooth Devices and peripherals.
Bluetooth Operations now return the BluetoothDevice that an operation was executed with.
Scanning for Passive Bluetooth Peripherals is now automatically initialized with an androidx.startup's Intializer implementation, ValidicBluetoothInitializer.
Fixed a bug where Passive Bluetooth Scanning would not restart if Bluetooth was turned off during a Pair or Read operation.
Sample Apps
Bump compileSdkVersion and targetSdkVersion to 31
Request new BluetoothScan and BluetoothConnect permissions when interacting with BluetoothPeripherals
Samsung Health
New dependencies on androidx.work:work-runtime, androidx.work:work-runtime-ktx, and org.jetbrains.kotlinx:kotlinx-coroutines-android
Observers are now managed using a CoroutineWorker instead of SHealthService. SHealthService has been removed.
New listener for events related to observers starting and stopping
add SHealthManager.getInstance().hasReadAccess(Set<String>) to check if permissions have previously been granted by an end user for a set of dataTypes.
SHealthListener.onError(error) has changed to return SHealthException that wraps all possible errors in the SDK. To retrieve the SHealthError use SHealthException.getSHealthError()
Vitalsnap (OCR)
Fix cases where Vitalsnap would not start after granting permissions to the Camera
New Features and Updates
N/A
Resolved Defects
Epic customers (in basket pools): resolved an issue with optional in basket pool notifications that was causing these to show as enabled by default
Epic customers (in basket pools): resolved an issue preventing the in basket pool list from populating when running IE 10 compatibility mode in IE 11
Epic customers (in basket): resolved an issue with the construction of average threshold notifications that was preventing the delivery of the notification
Epic customers (in basket): updated formatting of snake-cased metric values in in basket message (example: “blood_glucose” now shows as “Blood Glucose”)
Impact Admin: resolved an issue where newly created programs did not immediately show in the programs list without a page refresh
Impact RD:
Impact Admin: resolved an issue with a “not found” error sometimes showing after logout
IE 11 performance improvements
iOS (1.6.1)
Added additional logging to the app
Bug fixes
Android (Release 647)
Added additional logging to the app
Bug fixes
Android (Release 643)
Bug fixes