Ios swift – userNotificationCenter didReceive is not called when the app is closed
If the app is opened or in the background, userNotificationCenter get triggered and the data get saved just fine, but if the app is closed, when the notification comes, and I press one of the action buttons, nothing happens, the…