I'm sending LocalNotification
from my iOS app. All notifications are arriving successfully. I'm handling those notifications using notification userInfo
which is receiving from didReceive response
function and facing no issues when app is in either background or foreground state.
But when app is in terminated (close) state, as we know that will get that notification userInfo in launchoptions
as launchOptions?[.remoteNotification]
of didFinishLaunchingWithOptions
function in AppDelegate
. But here I'm not getting that userInfo
in launchOptions
.
Let me know, is there anything need to enable in project settings? Please help me.