You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've recently switched to using gorush to deliver notifications to my app.
I am checking if my app is receiving notifications (in my case, while the app is in the foreground) by implementing the following in AppDelegate.swift:
If I don't set the delegate function userNotificationCenter(_, willPresent: withCompletionHandler:), then all remote notifications will be processed in the AppDelegate function.
If I send the following data, the function is not called, implying that the notification was not received:
If I add a title: "my_title" to the notification, with or without the content_available field, the function is called, which means the notification has most definitely been received.
This seems to imply that silent notifications are not being delivered correctly. Any ideas?
The text was updated successfully, but these errors were encountered:
Hi, I've recently switched to using
gorush
to deliver notifications to my app.I am checking if my app is receiving notifications (in my case, while the app is in the foreground) by implementing the following in
AppDelegate.swift
:If I don't set the delegate function
userNotificationCenter(_, willPresent: withCompletionHandler:)
, then all remote notifications will be processed in theAppDelegate
function.If I send the following data, the function is not called, implying that the notification was not received:
If I add a
title: "my_title"
to the notification, with or without thecontent_available
field, the function is called, which means the notification has most definitely been received.This seems to imply that silent notifications are not being delivered correctly. Any ideas?
The text was updated successfully, but these errors were encountered: