FirebasePushNotificationPlugin: iOS OnNotificationOpened not firing from terminated app? - here's why

Just a heads up - I was trying to figure out why OnNotificationOpened wasn’t being fired when the app was being launched from a push notification (i.e the app is terminated, and you launch it by tapping on a notification). It turns out it was because there is core code commented out in this library’s source:

image

As soon as I uncommented this - everything works on iOS as expected!

Would love an explanation as to why this is commented out…

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

@rdelrosario can you explain please?

Actually I will update the code over the weekend uncommenting this and working with other needed fixes.

The reason this was commented was because at some point didn’t seem to be needed.