UNNotificationAction Handler on Low Power Mode

Hi,


I am using Local Notifications with UNNotificationAction, when the user triggers the action I need to send an API request to the server.


When the device is on "Low power mode" and "Background App Refresh" is turned off and the app is killed, I get a weird behavior on the action handler.


After the user taps the selected action on the notification - App Delegate didFinishLaunchingWithOptions() start to process but never finish.

It seems like the process is suspended in the middle of this function.

This behavior also stops the handler function of the Notification Action.


After monitoring with logs (debugging from Xcode it always works), I see the state of the application is background on startup.

Also, I could not see any logs that indicate crush or process suspension


I could not find any documentation of handling such a case.