I have tried different approaches mentioned in the issue list but none of them work. I'm debugging it in Xcode.
serNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse is called after I open a non-silent push notification
application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler is directly called after a silent push notification received (the app is in foreground to make sure it can receive silent notification callback)
To be highlighted, if I remove content-available in following payload, I can see the push notification, which means my code/certificate/token, etc is right.
I have tried different approaches mentioned in the issue list but none of them work. I'm debugging it in Xcode.
serNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse
is called after I open a non-silent push notificationapplication(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler
is directly called after a silent push notification received (the app is in foreground to make sure it can receive silent notification callback)To be highlighted, if I remove
content-available
in following payload, I can see the push notification, which means my code/certificate/token, etc is right.