Skip to content
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 Data-only not trigger setBackgroundMessageHandler callback? #290

Closed
7dp opened this issue Jan 10, 2022 · 6 comments
Closed

iOS Data-only not trigger setBackgroundMessageHandler callback? #290

7dp opened this issue Jan 10, 2022 · 6 comments

Comments

@7dp
Copy link

7dp commented Jan 10, 2022

setBackgroundMessageHandler callback will never be fired when (data-only / without notification object) notification delivered in background state?

@7dp
Copy link
Author

7dp commented Jan 10, 2022

in foreground state data-only notification was work :)

@7dp
Copy link
Author

7dp commented Jan 10, 2022

sorry, but now its work

@7dp 7dp closed this as completed Jan 10, 2022
@7dp
Copy link
Author

7dp commented Jan 11, 2022

oh, in my other app this still didn't work
idk why, but this is so strange

I have exactly same implementation

@7dp 7dp reopened this Jan 11, 2022
@9r4ik
Copy link

9r4ik commented Jan 11, 2022

same issues with some iphone`s(iphone 12 work). Its iisues from firebase

@danielmark0116
Copy link
Contributor

It should fire when the app is in the background. There would be a problem when app is force-quit by the user, then the setBackgroundMessagehandler will not be triggered. You can take a look here #5656 to get around it

@github-actions
Copy link

github-actions bot commented Dec 6, 2022

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants