@braze/web-sdk
Advanced tools
Changelog
4.8.2
Changelog
4.8.1
isControl
field on In-App Message and Card classes.Changelog
4.8.0
subscribeToFeatureFlagsUpdates
callback will now always be called first with the currently cached feature flags, and when feature flag updates are available.subscribeToContentCardsUpdates()
.subscribeToFeatureFlagsUpdates()
.Card.subscribeToClickedEvent()
and Card.subscribeToDismissedEvent()
.InAppMessage.subscribeToClickedEvent()
and InAppMessage.subscribeToDismissedEvent()
.InAppMessageButton.subscribeToClickedEvent()
.InAppMessage.extras
.Changelog
4.7.2
Changelog
4.7.1
Card.extras
.manageServiceWorkerExternally
and disablePushTokenMaintenance
initialization options could not work as expected.Changelog
4.7.0
User.setCustomUserAttribute
now accepts nested custom attributes and arrays of objects.
merge
parameter that specifies whether the value should be merged with the existing value on the backend. If false
(default), any existing attribute will be overwritten. If true
, existing objects and arrays of objects will be merged. To update an array of objects, follow the guidelines in our public docs.requestPushPermission
did not call the deniedCallback
if the SDK encountered certain errors when registering push.requestPushPermission
did not log a message if push is not supported on the user's browser.subscribeToSdkAuthenticationFailures
.Changelog
4.6.3
Changelog
4.6.2
Changelog
Changelog
4.6.0
braze.logContentCardClick()
to log that the user clicked on the given Content Card. This method is equivalent to calling braze.logCardClick()
with parameter forContentCards = true
.