@braze/web-sdk-no-amd
Advanced tools
Changelog
3.5.0
appboy.addSdkMetadata()
to allow self reporting of SDK Metadata fields via the appboy.BrazeSdkMetadata
enum.appboy.stopWebTracking()
method in favor of using appboy.disableSDK()
, which has the same functionality.appboy.resumeWebTracking()
method in favor of using appboy.enableSDK()
, which has the same functionality.appboy.isDisabled()
to determine if SDK has been disabled via appboy.disableSDK()
.changeUser()
with an SDK Authentication signature will now update the signature when it is called with the current user's ID.ab-pause-scrolling
class was not sufficient to allow scrolling on touchscreen devices during the display of an in-app message.Changelog
3.4.1
Changelog
3.4.0
User.addToSubscriptionGroup()
and User.removeFromSubscriptionGroup()
to manage SMS/Email Subscription Groups.ControlCard
are no longer counted in Feed.getUnreadCardCount
or ContentCards.getUnviewedCardCount
.article
role.aspectRatio
had an incorrect type in Card
subclasses.Changelog
3.3.0
inAppMessageZIndex
initialization option that allows you to easily customize the z-index of In-App Messages displayed by the built-in UI.successCallback
and errorCallback
parameters to requestContentCardsRefresh
.brazeBridge
, which has the same API as appboyBridge
. appboyBridge
is now deprecated but will continue to function.appboy.logCustomEvent
and appboy.logPurchase
.appboyQueue
replay snippet from the npm
publication of the SDK. This avoids possible race conditions when referencing the SDK simultaneously from npm
and the CDN, and removes use of eval
from the npm
packageappboy.logCustomEvent
and appboy.logPurchase
now impose a 50KB limit on custom properties. If the supplied properties are too large, the event is not logged.trackLocation
method in favor of using the native Geolocation API and passing the location data to 'User.setLastKnownLocation`. See our public docs for more information.enableHtmlInAppMessages
initialization option in favor of allowUserSuppliedJavascript
. These options are functionally equivalent and no other changes are required.User.setCountry
.dismissed
property to TypeScript definition and docs for Card
subclasses.Changelog
3.2.0
parentNode
parameter to appboy.display.hideContentCards
that allows you to specify a particular Content Cards feed to hide.Changelog
3.1.2
alt
text to In-App Message and Content Card images to improve screen-reader experience.ClassicCard
images when using the built-in UI.float
CSS caused certain elements of the built-in UI to display incorrectly.DeviceProperties
.Changelog
3.1.1
this
is undefined.Changelog
3.1.0
devicePropertyAllowlist
initialization option. This new initialization option has the same functionality as devicePropertyWhitelist
, which is now deprecated and will be removed in a future release.Changelog
3.0.1
extras
property of Card and In-App Message classes.manageServiceWorkerExternally
and disablePushTokenMaintenance
initialization options were swapped.