使用电容器插件修改推送通知
是否可以使用 @Capacitor/Push-Notifications修改传入的推动消息?我正在使用Firebase Cloud Message发送消息到我的Android和iOS应用程序,这些应用程序由我的后端加密,应该被该应用程序解密。为了实现这一目标,我必须在接收到通知中心中显示的消息。
我没有找到有关此文件的任何文件,因此我很感激任何提示实现这一目标。如果不支持这一点,我还可以使用其他解决方案吗?
Is it possible to modify incoming push messages using @capacitor/push-notifications? I‘m sending messages using Firebase Cloud Messaging to my Android and iOS apps, which are encrypted by my backend and should be decrypted by the app. To achieve this, I must modify the messages shown in the notification centers after receiving them.
I didn‘t find any documentation on this, so I would appreciate any hint into achieving this. If this is not supported, is there any other solution I could use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以发送数据通知(Android不会自动显示),然后使用
@Capacitor/local-Notifications
显示修改后的通知。You can send a data notification (which is not automatically displayed by Android) and then use
@capacitor/local-notifications
to show the modified notification.