0

I need your help,

I wanted to ask you 3 simple questions, where one goes in consequence of the other. Basically I want to limit to users the number of notifications they receive. Since it is a group chat and they are constantly receiving push. The idea is that I will get a push silent from a group, if this group did not send any push for 30 minutes, what I will do is show the push, if on the contrary less than 30 minutes ago we do not show the push. And that is why, I wanted to `regumber the following:

  1. Is it possible to receive a silent push notification afterwards to decide whether to display the alert or not?
  2. If the answer is affirmative, how can it be done?
  3. How do I do it when the app is in Background?

Thank you :)

Slytherin
  • 3
  • 1

1 Answers1

0

take a look at UNNotificationServiceExtension

and Modifying Content in Newly Delivered Notifications

user3206558
  • 392
  • 1
  • 12