-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_messaging] Management of data messages when activity is killed #829
Comments
The issue at flutter/flutter#17482 has been closed and moved here. Future collaboration on this issue will be done here. |
Hi @jankuss |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please. |
@iapicca I am afraid I do not understand why you would close this. This is a feature request rather than a bug report. |
@iapicca I believe that this will be resolved once the migration of the firebase_messaging plugin to use the v2 embedding for Android. I'll reopen this and then close once that migration is complete. |
@kroikie Is this currently being worked on or what PR do I need to follow? |
@creativecreatorormaybenot no PR yet but it is being worked on, sorry for the delay here. |
@kroikie , do you have a reference to an issue/milestone/anything related to this migration? |
Hey all 👋 As part of our roadmap (#2582) we've just shipped a complete rework of the If you can, please try out the dev release (see the migration guide for upgrading and for changes) and if you have any feedback then join in the discussion here. Given the scope of the rework I'm going to go ahead and close this issue in favor of trying out the latest plugin. Thanks everyone. |
If the app is in a killed state and a data message is sent, the app will call the onMessageReceived of the FlutterFirebaseMessagingService, but since the Activity is killed the FirebaseMessagingPlugin can not respond to the intent and the message is lost.
This is a problem when somebody wants to perform an action depending on the data which is contained in a message.
Are there any plans to handle this kind of behaviour?
The text was updated successfully, but these errors were encountered: