didReceiveRemoteNotification not called in iOS 13.3 when app is in background

后端 未结 2 1883
情书的邮戳
情书的邮戳 2021-02-13 01:22

I am banging my head. I am implementing push notification. Everything is working fine (push is received, badge is updated) but under iOS 13.3 the method application(_:didReceive

2条回答
  •  长发绾君心
    2021-02-13 01:56

    Have you set

    "content-available": 1
    

    in you backend APS payload?

    Also need to make sure you have enabled background mode in your iOS App's info.plist file

    UIBackgroundModes
    
        processing
        remote-notification
    
    

提交回复
热议问题