🔧Changelog
v 2.0.0
Breaking Changes
MeasurementCreationData.fromCameraSdkis now taking aMap<String, dynamic>instead of aString. It's to follow the update from theflutter-camera-sdk.
Additions
Method to get the
GeneralConfiguration &UserConfiguration.Method to update the
UserConfiguration.Method
getMostSevereLabel()on the measurement.
Updates
Updated the method
updateProfile(ProfileData updateData,string userId)to not require theuserIdanymore.
v 4.1.0
Added/fixed
New symptoms are added and can now be included as an array. New symptoms include:
racing_heart
dizziness
feeling_of_fainting
The Symptoms, Activity and the SymptomSeverity are also exported as types now.
Changed
The onConsentNeeded argument of the authenticate function has become optional.
v 4.0.0
Breaking changes
sdk.updateProfilesignature changed fromupdateProfile: (userId: string, profileData: ProfileData)toupdateProfile: (profileData: ProfileData). This way, you don't need to provide the userId
Added/improved
The
ProfileDatainterface has been expandedThe user's time zone is now applied to the periodic reports
Outdated reports are now rerendered
v 3.0.0
Breaking changes
postMeasurementnow throws aNoActivePrescriptionErrorwhen no active prescription is active when trying to post a measurement
Added
Symptom severity score can now be added to a measurement context
sdk.canPerformMeasurement: check if you have an active prescriptionsdk.updateMeasurementContext: update the measurement context after a measurement has already been postedsdk.updateProfile: update profile information
Changed
Errors thrown by
sdk.activePrescriptionare now more clear ->NoActivePrescriptionError&AlreadyActivatedError
v 2.0.0
Breaking changes
renamed
getReportUrltogetMeasurementReportUrl
- sdk.getReportUrl
+ sdk.getMeasurementReportUrlAdded
sdk.getPeriodicReports: gets a list of periodic reportssdk.getPeriodicReportPdf: get the pdf of a periodic reportsdk.activatePrescription: activate a prescription hash, so the user can perform a measurement
Changed
sdk.postMeasurementnow takes an optionalcameraSdkVersionparameter
- sdk.postMeasurement(measurement)
+ sdk.postMeasurement(measurement, '1.0.0')Last updated