I am working on an App which I want the Playload notification to remain presented in the banner until the user clicks on it. I have two cases:
- App in background, after opening the app (not through the notification) the notification disappears.
- App in foreground, the notification will be presented on the banner (I used: UNUserNotificationCenterDelegate for that) but after few seconds it disappears.
is there a way to manage the notification duration, I want it to be presented until the user clicks on it.