【问题标题】:How to display Appboy HTML inAppMessage in React JS app如何在 React JS 应用程序中显示 Appboy HTML inAppMessage
【发布时间】:2021-04-08 16:37:47
【问题描述】:

我需要在我的 React JS 应用程序中显示一个 braze inAppMessage HTML 弹出窗口。这是我的代码库

export const displayCustomInAppHTMLMessage = msgTxt => {
  const message = new appboy.HtmlMessage(msgTxt);
  appboy.display.showInAppMessage(message);
};

但这并没有显示任何弹出窗口。有人可以帮忙吗? 谢谢

【问题讨论】:

    标签: reactjs appboy


    【解决方案1】:

    要显示 HTML inAppMessage 我们需要在初始化代码时将enableHtmlInAppMessages 设置为true

    https://www.braze.com/docs/user_guide/message_building_by_channel/in-app_messages/customize/#custom-html-messages

    【讨论】:

      猜你喜欢
      • 2022-07-05
      • 2010-10-23
      • 2011-05-15
      • 2012-12-09
      • 2015-08-30
      • 1970-01-01
      • 2016-11-05
      • 2018-02-13
      相关资源
      最近更新 更多