Closed faizanbuggy closed 1 month ago
@faizanbuggy I have the same problem, you managed to solve it?
@Dallas62
@jgalianoz Unfortunately No. Please reply with a solution if you get one. Thanks!
I think the README speak about it:
/* Android Only Properties */
vibrate: true, // (optional) default: true
Key part: /* Android Only Properties */
And I don't see the mandatory parameter: channelId
For sound check the iOS repository or exemple project.
Regards
@Dallas62 One question where I find the channelId
and channelName
You define it
push_service.notify_multiple_devices(
registration_ids=[registration_id_ios],
message_body=message_body_ios,
content_available=True,
data_message={ },
sound="default"
)
@faizanbuggy I resolved this by adding a sound="default"
param in my service that sends the push notifications in the backend. Maybe you can try this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
I am using Firebase push notifications and they are working fine i.e with sound and vibration but when the app is in background mode then the notification is being received without vibration and sound. On Android, only sound is playing in all modes without vibration. My code is: