Do remote push notifications require to add UIBackgroundModes in Info.plist?

后端 未结 5 2123
自闭症患者
自闭症患者 2021-01-30 19:25

I have integrated remote push notifications, but I am getting this warning:

didReceiveRemoteNotification:fetchCompletionHandler:], but you st

5条回答
  •  自闭症患者
    2021-01-30 20:01

    It happened to me even after setting the remote notifications background mode in the capabilities. The issue was I had three targets, one for production, one for qa and one for staging. I had to set remote notifications in all the three targets and that fixed the warning.

提交回复
热议问题