Fixed
- Fixed an issue where
ContentCardsFragment
would not show the empty state if the user had only control cards.
Added
- Adds support for the Braze Banner Cards product.
- Added
BrazeWebViewClient
to facilitate the creation ofWebViewClient
s in Banners and In-App Messages.- Added
BannerWebViewClient
, which extendsBrazeWebViewClient
. InAppMessageWebViewClient
now extendsBrazeWebViewClient
.
- Added
- Added
JavascriptInterfaceBase
to simplify the creation of JavaScript interfaces for Banners and In-App Messages.- Added
BannerJavascriptInterface
, which extendsJavascriptInterfaceBase
. InAppMessageJavascriptInterface
now extendsJavascriptInterfaceBase
.
- Added
- Added
IBannerWebViewClientListener
interface for Banner WebViewClient listeners. - Added an optional button id parameter to
IInAppMessage.logClick
.
Changed
- Changed the location of
brazeBridge
to be located in filebraze-html-bridge.js
.brazeBridge
is now accessible in both Banners and In-App Messages.braze-html-in-app-message-bridge.js
is now deprecated and will be removed in a future version of the SDK, in favor ofbraze-html-bridge.js
.
- Changed properties in
AttributionData
from non-nullable to nullable to allow for optional values.