[UWP]目标推送通知与常规WNS推送通知:API和主题支持? [英] [UWP]Targeted Push Notifications vs Regular WNS Push Notification : API and Topic support?

查看:142
本文介绍了[UWP]目标推送通知与常规WNS推送通知:API和主题支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


目标推送通知正在UWP范围内。它看起来非常棒,因为据我所知,它不需要管理ChannelURI(因为我们需要WNS)。

UWP应用程序只需订阅,推送通知可以从开发中心发送。 br />
您可以在以下网址找到文档:https://msdn.microsoft.com/en-us/windows/uwp/publish/send-push-notifications-to-your-apps-customers


问题#1:


是否有任何API(如WNS)从我的云服务器发送目标推送通知?

如果是这样,如何找到相关的ChannelURI?

我的猜测是每个应用程序主题都在幕后,所有使用Microsoft Store Service SDK的设备都会自动订阅此主题以获得通知。


问题#2


此外,是否可以从UWP应用程序创建我们自己的主题(如Google FCM),然后从目标推送通知中受益?


到目前为止,解决多个设备的唯一解决方案是"为每个Chann发送消息" elUIs"或者使用Azure Hub或Amazon SNS以及主题支持。


感谢您提供任何帮助或信息。




解决方案

Hello LS-开发人员,


>>"是否有任何API(例如WNS)从我的云服务器发送目标推送通知?"


据我所知,没有这样的API可供您使用。如果您想从自己的服务器发送通知,则必须使用通用" Windows
推送通知服务
"。


>> "是否有可能从UWP应用程序创建我们自己的主题(如Google FCM),然后从目标推送通知中受益?"


目前,你做不了。我认为"目标推送通知"和"WNS"都需要请求频道网址并使用它来发送通知。 "目标推送通知"只是帮助您简化了保存和管理频道的步骤。


无论如何,您可以将您的想法提交到" WPDev UserVoice
"。

此外,  欢迎
到开发环球Windows应用论坛!


请阅读粘贴帖子,尤其是

发布指南:主题行标签

Windows 10 SDK和工具的已知问题 
 


请记得下次自己为标题添加标签。



最好的问候,


Xavier Eoro


Hi all,

Targeted Push Notifications is coming in UWP scope. It looks really great because, as far as I know, it does not require to manage ChannelURIs (as we need for WNS).
UWP application simply subscribes and push notifications can be sent from Dev Center.
You can find documentation at: https://msdn.microsoft.com/en-us/windows/uwp/publish/send-push-notifications-to-your-apps-customers

Question #1:

Is there any API (like for WNS) to send targeted push notifications my from my cloud server?
If so, how to find the related ChannelURI?
My guess it that a per application topic is behind the scene and all devices using the Microsoft Store Service SDK subscribe automatically to this topic to get notified.

Question #2

Also, is it possible to create our own Topics (like with Google FCM) from UWP application and then benefit from targeted push notifications?

Until now, the only solutions to address multiple devices is the "Send message for each ChannelUIs" or use either Azure Hub or Amazon SNS with topic support.

Thanks for any help or information on this.

解决方案

Hello LS-Developer,

>>" Is there any API (like for WNS) to send targeted push notifications my from my cloud server?"

As far as I know, there’s no such API for you to do it. If you want to send notifications from your own server, you would have to use the general "Windows Push Notification Services".

>>" is it possible to create our own Topics (like with Google FCM) from UWP application and then benefit from targeted push notifications?"

For the moment, you cannot do it. I think both "Targeted push notifications" and "WNS" will need to request channel url and use it to send notifications. The "Targeted push notifications" just has helped you simplify this step to save and manage channels.

Anyway, you could submit your ideas to "WPDev UserVoice ".

In addition, Welcome to the Developing Universal Windows apps forum!

Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools  

Please remember to add tag to title yourself next time.

Best Regards,

Xavier Eoro


这篇关于[UWP]目标推送通知与常规WNS推送通知:API和主题支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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