Default messag does not play sound

Created on 13 June 2025, 29 days ago

Problem/Motivation

We send a message with firebase, but it plays no sound on the receiving devices.

A little bit more detail: we use it in a pwa-environment. When you use "add to homescreen" (pwa-default) it actually does play sound. But we also use it in an app, with pwabuilder, en in these apps no sound is played.

Steps to reproduce

Create a pwa, than package it with pwabuilder and publish it. Push a test-notification to a device.

Proposed resolution

Add $message = $message->withDefaultSounds();.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands joshahubbers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024