Dear all, My iOS application is registered for receiving push notifications from a server. My AppDelegate.m inherits the UNUserNotificationCenterDelegate and it uses the didRegisterForRemoteNotificationsWithDeviceToken method. In the server side, I used the Java-APN library (https://github.com/CleverTap/apns-http2). By this library, the… Show more

I changed the topic in my apns server to my app's bundle identifier and it worked. It is clearly stated at https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns?language=objc in the section "Create and Send a POST Request to APNs".