Open varungupta85 opened 1 year ago
Hi, this is still an open issue and would be really helpful if somebody with native iOS experience could look into it. To reproduce the problem, simply send a remote notification with some foreground notification actions to the app when the app is not running in the background. Choose a notification which will bring the app to the foreground. Note that getInitialNotification
handler received the initial notification as null. Hence, we can't process the notification action taken by the user.
Hi,
I have asked this question on stackoverflow also at: https://stackoverflow.com/questions/74470589/initial-notification-is-null-on-ios-when-app-launched-via-a-notification-action
Posting it here also in case it is a bug/new feature. When the app is not running in background and is launched via a foreground notification action, then the notification is null in the
getInitialNotification
causing the app to loose the user action.