-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] onResume callback get called when the app receiving the remote notification in background mode #102
Comments
you are absolutely right, here is the official doc: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623117-application The first thing that it is deprecated since ios 10;
|
Hi, I'm facing the same issue right now. Is there any way to use your package to react to the user clicking the notification? I understand, that I should implement the didReceive method as explained in the docs you linked. But how can I do this in Flutter with your package? |
Hi folks, I am new to this package. I am working with the latest version of this package,
flutter_apns_only: ^1.6.0
.I am getting confused about the definition of
onResume
. Under my understanding, theonResume
is getting called, when the user taps on the notification with the app in the background. However, I figure out thisonResume
is also getting called while the app receives the remote notification. After deep diving into the implementation of the iOS platform code, I found this code snippet.Maybe I have a wrong understanding of the
onResume
definition. If that is the case, can someone please suggest a way for me to identify whether the user is resuming the app through click the notification?The text was updated successfully, but these errors were encountered: