Integration guide to add notification preference centre in Angular website.
@suprsend/web-sdk
version >=2.0.0In @suprsend/web-sdk@2.0.0
we have revamped SDK. The whole structure of preferences have been changed from SDK side. Please upgrade to newer versions. Old version of documentation for preference is available here.preferences_updated
and preferences_error
to listen to updates in preference data and errors.
Our Main component preference has 2 child components one for Category-level preference section and other for Overall Channel-level preference section.
opt-in
set the switch state as on and off for the opt-out
state.opt-in
set the checkbox state as checked and unchecked for the opt-out
state.all
to required
preference in channel.