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

🐛 [firebase_messaging] Notifications not visualized when app is in background, but handled in onMessage after update to iOS 14 #3771

Closed
bojidartonchev opened this issue Oct 5, 2020 · 1 comment · Fixed by #4012
Labels
Needs Attention This issue needs maintainer attention. type: bug Something isn't working

Comments

@bojidartonchev
Copy link

bojidartonchev commented Oct 5, 2020

After updating my device to iOS 14, it stopped showing incoming notifications. However, if the app is in foreground, all notifications trigger the onMessage callback. Android is working fine.

Tried with Swizzling enabled and disabled, no difference.

<key>FirebaseAppDelegateProxyEnabled</key>
<false/>

I am using
firebase_messaging: ^7.0.2

Tested on both dev, AdHoc and production environment.

Any suggestions would be highly appreciated.
Best regards.

@bojidartonchev bojidartonchev added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Oct 5, 2020
@bojidartonchev
Copy link
Author

Anyway, found what was wrong.

Apparently after the n-th test notification I had sent, the iOS decided to make my app's notifications silent. When I swiped down the notifications section, there was a prompt whether to keep my app notifications silent or make them visible again.

@firebase firebase locked and limited conversation to collaborators Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Attention This issue needs maintainer attention. type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant