在应用之间发送通知 [英] Send notifications between apps

查看:98
本文介绍了在应用之间发送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的应用程序中有这样的情况:我想通过应用程序而不是消息从手机A发送通知到手机B.在发送消息后,它将在电话B中显示通知,如果电话B回复,它将再次发送到电话A.

我的问题:如何在应用开发中调用它?你能告诉我一些关于这件事的工作流程吗?如果更好,我想使用AWS服务。



谢谢。



我有什么尝试过:



我对此一无所知。我考虑过AWS SNS,但似乎不对。

Hi all,
I have a situation in my app: i want send the notification from phone A to phone B through app not message. after sending message, it will display notification in phone B and if phone B reply it will send again to phone A.
My question: how is it called in app development ? Can you tell me something about the workflow of this thing ? If better, i want to use AWS service .

Thanks.

What I have tried:

I don't have any idea about this. I thought about AWS SNS but it seems not right.

推荐答案

您需要在自己的应用程序中实现推送通知服务。如果电话A和B在同一设备类型上; Android,iOS等。然后您可以轻松配置Firebase for Android等服务。但是,如果平台不同,那么您可以轻松配置Azure Notification Hub以发送和接收消息,而不是在每台设备上实现这些服务。您可以在其中传递Firebase和其他服务的密钥以进行推送通知。



我之前写了一个类似问题的答案,请在这里阅读答案:如何实施推送通知 [ ^ ]
You need to implement the push notification services, in your own application. If the phone A and B are on the same device-type; Android, iOS etc. Then you can easily configure the services such as Firebase for Android etc. However, if the platforms are different, then instead of implementing these on every device, you can easily configure Azure Notification Hub to send and receive the messages, where you can pass the keys for your Firebase and other services for push notifications.

I wrote an answer to a similar question previously, please read that answer here: How to implement push notifications[^]


这篇关于在应用之间发送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆