Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在我的 React JS 应用程序中显示一个弹出的 inAppMessage HTML。这是我的代码库
export const displayCustomInAppHTMLMessage = msgTxt => { const message = new appboy.HtmlMessage(msgTxt); appboy.display.showInAppMessage(message); };
但这并没有显示任何弹出窗口。有人可以帮忙吗?谢谢
要显示 HTML inAppMessage 我们需要设置enableHtmlInAppMessages为truewhile 初始化代码
enableHtmlInAppMessages
true
https://www.braze.com/docs/user_guide/message_building_by_channel/in-app_messages/customize/#custom-html-messages