Xamarin.iOS RegisteredForRemoteNotifications未调用 [英] Xamarin.iOS RegisteredForRemoteNotifications not called

查看:105
本文介绍了Xamarin.iOS RegisteredForRemoteNotifications未调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xamarin Forms,目前正在尝试获取推送通知以与iOS项目一起使用.我已遵循 Xamarin指南来添加通知到我的iOS应用程序,但是从不调用RegisteredForRemoteNotifications方法.

I am using Xamarin Forms and am currently trying to get push notifications to work with the iOS project. I have followed this Xamarin guide to add notifications to my iOS app but the RegisteredForRemoteNotifications method is never called.

我还创建了推送通知证书和启用了后台通知.甚至不会调用FailedToRegisterForRemoteNotifications.

I have also created both push notification certificates and enabled background notifications. Even FailedToRegisterForRemoteNotifications is never called.

我该怎么办?

PS:我正在将iPhone 5与iOS 10配合使用,因此我还阅读了

PS: I'm using an iPhone 5s with iOS 10 so I also read this post on the User Notifications Framework.

推荐答案

因此,在AppStore中发布后,它开始工作...

So, after publishing in the AppStore it starts working...

这篇关于Xamarin.iOS RegisteredForRemoteNotifications未调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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