Flutter SDK 2.5.2
SDK Installation
Download the Flutter SDK here.
Unzip the downloaded SDK zip file to a folder in your local drive.
Setup the SDK:
bashcd vital_sign_camera flutter pub get
Sample Code
The quickest and simplest way to kickstart your journey with the Flutter SDK is by downloading and experimenting with our full-featured sample code. To run the sample code, go to the demo_app folder, execute the commands:
flutter pub get
flutter runIMPORTANT
In the above sample codes, the strings __YOUR_USER_ID__ and __YOUR_API_KEY__ should be replaced by your own User ID and API Key repectively. Please contact us to obtain your User ID and API Key.
Project Integration
To integrate our Flutter SDK into your Flutter project, add the Flutter SDK package by:
flutter pub add vital_sign_camera --path "/path_of_downloaded_folder/flutter-vital-sign-sdk/vital_sign_camera"Please replace the string path_of_downloaded_folder above with the actual downloaded path.
Project Integration (for iOS)
IMPORTANT
This version of the SDK requires targeting iOS 16.0 or above. If targeting iOS 12, please use SDK version 1.6.x.
Add the following to the 'ios/Podfile' file for the iOS simulator support:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Support x86_64 simulator only
config.build_settings['ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
end
flutter_additional_ios_build_settings(target)
end
endCamera Permission (for iOS)
When developing for iOS, you need to allow the app to use the camera by specifying the following in the file Info.plist:
<key>NSCameraUsageDescription</key>
<string>Use for measuring vital signs</string>TIP
In Info.plist, the string "Use for measuring vital signs" is an example description of the camera usage. You should specify your own description that matches the usage of your application.
Project Integration (for Android)
IMPORTANT
Please note that for Android, the minimum SDK version must be at least 24.
Add the following line to the file android/settings.gradle:
include ':vital-sign-engine'
project(':vital-sign-engine').projectDir = new File('/path_of_downloaded_folder/flutter-vital-sign-sdk/vital_sign_camera/android/libs')Please replace the string path_of_downloaded_folder above with the actual downloaded path.
Camera Permission (for Android)
When developing for Android, you need to allow the app to use the camera by specifying the following in the file AndroidManifest.xml:
<uses-permission android:name="android.permission.CAMERA" />What's new
2.5.2 (15-May-2026)
- Promotes the 2.5.2-b1 beta to a stable Flutter SDK release.
- Refreshed the bundled Android core artifacts from 5.9.5 to 5.9.7.
- Improved Flutter server-error presentation so codes like 201 render readable messages instead of raw
ServerErrorinstance text. - No new Flutter integration steps are required for existing 2.5.x adopters.
2.5.1 (13-May-2026)
- Refreshed the bundled native core artifacts for the latest patch release.
- Core Library Updates: iOS Core updated from 5.15.14 to 5.15.15, Android Core updated from 5.9.4 to 5.9.5.
- No Flutter API or integration changes are required for existing 2.5.x adopters.
2.5.0 (13-May-2026)
- Core Library Updates: iOS Core updated from 5.14.2 to 5.15.14, Android Core updated from 5.7.1 to 5.9.4 (16KB page size support).
- Updated Flutter bridge for VitalSignEngineCore 5.15.7.
- Fixed Android camera disposal to properly tear down event channels, stop scanning, and prevent callbacks after disposal.
- V1 backend support is deprecated and will be removed on June 30, 2026. Please migrate to V2.