推送通知服务已收到并删除通知 [英] The Notification was received and dropped by the Push Notification Service

查看:121
本文介绍了推送通知服务已收到并删除通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在必须删除我的通知中心并重新创建它以使消息发送工作之后,我收到了总共1个通知。

After having had to delete my notification hub and recreate it just to get message sending working, I received a total of 1 notification.

现在它丢弃了每一个,即使我重新启动手机并且它说消息已成功发送,也不会像第一次那样在事件中被提升。

Now it drops every one of them, even if I restart the phone and it says that a message was successfully sent, it doesn't get raised in the event like it did the first time.

我正在发送原始通知通过Visual Studio和我的应用程序加载到前台。

I'm sending raw notifications through Visual Studio and my app is loaded in the foreground.

某处...

推荐答案

我现在又重新开始工作,我一直在尝试注册一个后台任务,即使它没有工作,它仍然被注册,所以我现在取消注册消息了。
I have it working again now, I had been trying to register a background task and that was still registered even though it wasn't working, so I unregistered it now the messages get delivered.


这篇关于推送通知服务已收到并删除通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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