Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

[firebase_messaging] why data message on android is not supported by plugin, message is lost when app terminated #2121

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

Closed
tbm98 opened this issue Mar 4, 2020 · 9 comments
Labels
plugin: messaging Stale Issue with no recent activity type: documentation Improvements or additions to documentation type: enhancement New feature or request type: question A question where further information is requested

Comments

@tbm98
Copy link
Contributor

tbm98 commented Mar 4, 2020

Why does it work on iOS but not Android? whether it works in the future or not?

@tbm98 tbm98 added the type: enhancement New feature or request label Mar 4, 2020
@iapicca iapicca removed the type: enhancement New feature or request label Mar 9, 2020
@iapicca
Copy link

iapicca commented Mar 9, 2020

Hi @tbm98
can you please provide your flutter doctor -v ,
your flutter run --verbose
and your pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you

@iapicca iapicca added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Mar 9, 2020
@tbm98
Copy link
Contributor Author

tbm98 commented Mar 9, 2020

Screen Shot 2020-03-09 at 22 49 52

this picture is showing data message on android when app terminated is not support by plugin, message is lost

@xyeeeChen
Copy link

In my test, the data message on Android is:

App in Background: onBackgroundMessage is called, not onMessage
App Terminated: onBackgroundMessage is called, not without support

@iapicca iapicca added type: enhancement New feature or request and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Mar 11, 2020
@tbm98
Copy link
Contributor Author

tbm98 commented Mar 12, 2020

In my test, the data message on Android is:

App in Background: onBackgroundMessage is called, not onMessage
App Terminated: onBackgroundMessage is called, not without support

But why in official docs still showing not supported by plugin, message is lost

@tbm98
Copy link
Contributor Author

tbm98 commented Mar 12, 2020

here

@nicksav
Copy link

nicksav commented Apr 19, 2020

Ok any luck guys? Is it working or not?

@Ehesp Ehesp added plugin: messaging type: question A question where further information is requested type: documentation Improvements or additions to documentation labels Apr 21, 2020
@Yirmeyah-d
Copy link

Any luck Guys ? did someone try to use onBackgroundmessage ?

@nicksav
Copy link

nicksav commented May 15, 2020 via email

@Yirmeyah-d
Copy link

Yirmeyah-d commented May 15, 2020

Oh really ?
Could you show me how you succeed ?
I'm actually struggling with some issue ? #2565
Could you help me ?

Hey yes. Its working now!!!

On Sat, 16 May 2020, 8:04 am Yirmerah, @.***> wrote: Any luck Guys ? did someone try to use onBackgroundmessage ? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2121 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGWJPNKEQKLHMG2GMQM6MDRRW367ANCNFSM4LBITSFA .

@Salakar Salakar added the Stale Issue with no recent activity label Apr 1, 2021
@Salakar Salakar closed this as completed Apr 1, 2021
@firebase firebase locked and limited conversation to collaborators Apr 1, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
plugin: messaging Stale Issue with no recent activity type: documentation Improvements or additions to documentation type: enhancement New feature or request type: question A question where further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants