SDK Release Notes - Web Apps
Track all the changes for the Web Apps JS SDK, providing valuable insights into every update, improvement, bug fix, and new feature introduced by the JS SDK 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 0.9.* version
[0.9.6] - 23.04.2024
Updated
- Updated nudge to use locally stored userId for diff among login and anonymous users.
- Using locally stored userId for events in case of no login in the same session.
[0.9.4] - 22.04.2024
Updated
- fixed bug on
nudge_response
event for multiple nudges shown at a same time. Was using the time from the last nudge in all responses.
Added
- Added ability to fetch nudges for anonymous users, set
allowAnonymousUsers
totrue
increateSDKInstance
options.
[0.9.3] - 17.04.2024
Updated
- Updated
SDKInit
method to decouple logIdentifyEvent and SDK init. - Refactored
EducationLevel
enum toEducationalLevel
ANDIdentifyAction
toIdentityAction
- Merged
schedule_delivery
anddelivery
events. - The new
delivery
event now has the optional params to pass on delivery and dispatch coordinates as well. - Updated enums for
payment
events,- such as
DeferredPaymentType
&PaymentsMethodAction
toPaymentAction
PaymentMethodType
is refactored toPaymentMethod
- such as
- SDK now provides the ability to fetch in-app nudges on an individual screen.
- To enable that set
selfManagedNudges
to true in theCFLog
options. - Then on your Home Screen of the app or any screen of your choice,
use
CfLog.getSDKInstance().fetchNudgesForScreen(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
.