ably / ably-flutter

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.
https://ably.com/download
Apache License 2.0
60 stars 16 forks source link

i can't call the event in function notificationTapLaunchedAppFromTerminated when the user taps the notification while the app is shutting down #475

Open chuvanhoang888 opened 1 year ago

chuvanhoang888 commented 1 year ago

I can't call the event in function notificationTapLaunchedAppFromTerminated when the user taps the notification while the app is shutting down. When I debug I notice the function onNotificationTap hanlde event tap in the state: foreground, background, Terminated . These cases only happen on ios, android works normally

┆Issue is synchronized with this Jira Task by Unito

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3829

sacOO7 commented 1 year ago

Hi, @chuvanhoang888 can you provide more context around the error? It would be useful to have an error log for the same. Also, mention the version of ably-flutter being used as of now. Since this is working on android, must be a common error around iOS flutter apps. If you have suggestions to fix he same based on your findings, it will be helpful for us 👍