简体   繁体   English

应用程序在后台模式下未收到推送通知

[英]App doesn't receive push notifications in background mode

I'm developing an iOS app that receives well the remote notification when it is in the running state, but it doesn't receive any thing and the notification banner is not showing up in the background state. 我正在开发一个iOS应用,当它处于运行状态时,它可以很好地接收远程通知,但是它没有收到任何东西,并且通知横幅没有在后台显示。 I set notification stale to banner, background fetch and remote notification are checked in the background modes menu, I'm using xcode 6 and didReceiveRemoteNotification to handle the notification. 我将通知过期设置为横幅,在后台模式菜单中检查了后台获取和远程通知,我正在使用xcode 6和didReceiveRemoteNotification来处理通知。 Any ideas on how to fix this issu please ? 请问有关如何解决此问题的任何想法?

Check if Background App Refresh is enabled for your application. 检查是否为您的应用程序启用了后台应用程序刷新。 Then check what callback method you're using, this must be 然后检查您使用的是哪种回调方法

- (void)application:(UIApplication *)application didReceiveRemoteNotification:fetchCompletionHandler:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS应用未收到来自Firebase的后台推送通知 - iOS app doesn't receive background push notifications from Firebase PubNub iOS应用未收到推送通知 - PubNub iOS app doesn't receive push notifications Phonegap插件推送注册设备,但未收到通知 - Phonegap plugin push registers device but doesn't receive notifications 推送通知和后台获取模式 - push notifications and background fetch mode 带有 Firebase 的 Mac Catalyst 应用程序不会收到推送通知 - Mac Catalyst App with Firebase won't receive push notifications 当应用程序在后台运行时,推送通知不起作用 - Push notifications don't work when app is in background 在后台模式下使用App接收通知 - Receiving Notifications with App in background mode 我的生产ios应用没有推送通知 - My production ios app doesn't have push notifications working iOS / Swift:当应用程序处于后台时,无需推送通知即可接收来自数据流服务的回调 - iOS / Swift : Receive callbacks from data streaming service without push notifications while app is in background 在后台模式下,无声推送通知在iOS7上不起作用 - Silent push notification doesn't work on iOS7 in background mode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM