Silent Push Notification in iOS from Java APNS

349 Views Asked by At

Push notification working properly in app from Java APNS,

But one notification in payload with

{
    aps =     {
        "content-available" = 1;
    };
    key = value;
    key = value;
    key = value;
}

This is not working in any state of app in iPhone 7, working in other devices, also check with battery mode.

From sender we see log and check response it's sending, but not received in device. What was the reason for particular device or state ?? i have searched over web but see almost same content which i m using, i got data in func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) this function when device receive any kind of push notification.

0

There are 0 best solutions below