We're currently using custom actions for storing a boolean in UserDefaults and then showing a prompt to the user.
Those actions are fired through silent notifications for given named users and they are working fine while the app is opened, regardless of it's in the foreground or background.
Nevertheless, they don't work if the app is closed. I'm checked that silent notifications fire application:didReceiveRemoteNotification:fetchCompletionHandler: method in the app delegate but the action is not performed. Am I not initializing the push handler properly? Should I launch the action manually? There's another feature that fits better for the desired behavior?
Thanks for your help!