SDK Release Notes - Android
Track all the changes for the Android SDK, providing valuable insights into every update, improvement, bug fix, and new feature introduced by the Android development team. With each entry, developers gain a clear understanding of the modifications made in each version, facilitating seamless integration and adaptation of their applications.
Upgrading to 1.0.* version
[1.1.8] - 19.09.2024
Updated
- Update Patient Mgmt catalogs for optional params
- Updated logIngest to exclude ContentBlock param
- Update Identify event to stop sending userId and refactor catalogs for React Native usage
- Updated
CountryCode
andLanguageCode
enums to remove 2 char and 3 char values - Updated Search item type for appointment, assessment and MedicalRecord.
- Updated Search Module type for appointment.
- Moved Core Builder functions to single function pattern: CFCoreEvent.logIngest(...)
- Moved Core Catalogs to single function pattern: CFCoreEvent.logCatalog(...)
- Moved Patient Mgmt Builder functions to single function pattern: CFPatientMgmtEvent.logIngest(...)
- Revamped Patient mgmt to more general events such as patient, encounter and appointment.
- Moved Patient Mgmt Catalogs to single function pattern: CFPatientMgmtEvent.logCatalog(...)
- Added Patient event in Patient Mgmt Module
- Added Encounter event in Patient Mgmt Module
- Added Appointment event in Patient Mgmt Module
- Updated content block for App Event.
Added
- Added time and
GenderBasedViolence
,SexualBehaviour
&EconomicStrength
for DiagnosisType - Added time and
isTimeSensitive
bool for appointment event to get the appointment time
Removed
- EncounterSubType -> replaced with DiagnosisType
- Internal Catalog Models for Core and Patient Mgmt modules
[1.0.2] - 05.05.2024
Updated
- UserCatalog cannot now have multiple items in the list, instead of the logged-in user only.
- General improvements for Nudge fetching.
Upgrading to 0.9.* version
[0.9.4] - 23.04.2024
Updated
- Moved all workManagers from
Worker
toCoroutineWorker
- General improvements for Nudge fetching.
Added
- Added ability to fetch nudges for anonymous users, add
.allowAnonymousUsers()
for your CfLog builder to start fetching nudges, this also enables the SDK to ingest logs for anonymous users.
[0.9.3] - 17.04.2024
Updated
- Auto update app events on startup, for apps closed without moving to background.
- Internal Improvements for Nudge response type.
[0.9.2] - 15.04.2024
Updated
- Internal improvements for nudge manager related to
expire_at
time.
[0.9.1] - 08.04.2024
Updated
- Updated enums to match kotlin syntax in all modules, i.e.
CartAction.add_item
will now beCartAction.AddItem
- Merged
schedule_delivery
anddelivery
events. - The new
delivery
event now has the optional params to pass on delivery and dispatch coordinates as well. - SDK now provides the ability to fetch in-app nudges on an individual screen.
- To enable that set
setAutoShowInAppNudge
to false in theCFLog
. - Then on your Home Screen of the app or any screen of your choice,
use
CFInAppMessage.show(context, NudgeScreenType.xx)
- In the above,
NudgeScreenType
is an enum, if you don't want to show the messages based on a specific screen, useNudgeScreenType.None
elseNudgeScreenType.Home
or other available screen types based on the intervention.
- To enable that set
Added
- Added
Marital Status
,Family Members
,Birth Year
,Gender
andNumber of Children under 5 years
params as OPTIONAL for User Catalog. - Rate event has more enum values such as
customer
,hcw
,hcw_site
,facility
,process
,assessment
, etc. - Payment Method now have more enum values such as
mobile_transfer
,cash
,other
, etc. - SDK nudges will now track
nudge_response
asexpired
as well for bothpush_notifications
andin_app_messages
.