【问题标题】:How to add action button to RNFIREBASE MESSAGING notifications如何将操作按钮添加到 RNFIREBASE MESSAGING 通知
【发布时间】:2020-08-05 15:59:59
【问题描述】:

我探索了这个 github 问题:https://github.com/invertase/react-native-firebase/issues/1811

但没有找到答案,因为 react-native-firebase 包不再维护。相反,它已被划分为特定的包。我没有找到使用@react-native-firebase/messaging向通知添加操作按钮的选项

我在互联网上提出了风暴,但没有找到解决方案。请给我指路

【问题讨论】:

    标签: react-native firebase-cloud-messaging react-native-firebase


    【解决方案1】:

    最后,我通过以下方式解决了: 我使用了react-native-push-notifications 库。每当收到新消息时,都会创建一个新通知。使用该库可以轻松添加操作按钮。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-06
      • 2014-03-22
      相关资源
      最近更新 更多