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] Notification Sound is not working on IOS 15 when app in forground #1304

Open
sumitmundra opened this issue Oct 5, 2021 · 2 comments

Comments

@sumitmundra
Copy link

When I send Notification and iOs app is in foreground then notification sound is not working on iOs 15. sound work fine when app in background. it also work fine in iOS 14

apns paylod: userInfo -> [AnyHashable("aps"): {
alert = {
body = "Kledn Company - hi";
title = Chat;
};
badge = 22;
category = "https://preprod.risebuildings.com/#/app/resident/messages/chat-details/6131e95a02008ceb91df7f1f";
sound = "default.caf";
}, AnyHashable("gcm.message_id"): 1633432922216200, AnyHashable("categoryId"): , AnyHashable("google.c.a.e"): 1, AnyHashable("notification_category"): , AnyHashable("state_id"): 6131e95a02008ceb91df7f1f, AnyHashable("message"): Kledn Company - hi, AnyHashable("$state"): chat, AnyHashable("badge"): 22, AnyHashable("title"): Chat, AnyHashable("chat_type"): 1, AnyHashable("google.c.fid"): euTqw93Ln0HTny5NGFgUha, AnyHashable("category"): Chat, AnyHashable("google.c.sender.id"): 93576622797, AnyHashable("sound"): default.caf]

@morganchen12
Copy link
Contributor

Hi @sumitmundra, is this the case for plain APNs notifications as well (without using FCM)?

@sumitmundra
Copy link
Author

No it is working fine with plain APNS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants