Default messag does not play sound

Created on 13 June 2025, 1 day 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

  • Issue created by @joshahubbers
  • Merge request !43Resolve #3529972 "Default messag does" → (Open) created by joshahubbers
  • 🇳🇱Netherlands joshahubbers

    I added the patch to enable sound by default. It follows the device setting of course, so when sounds are muted a buzz is played, or nothing at all, depending on the user phone preference.

  • Pipeline finished with Failed
    1 day ago
    Total: 186s
    #521289
  • Pipeline finished with Failed
    1 day ago
    Total: 1137s
    #521283
  • Pipeline finished with Failed
    1 day ago
    Total: 167s
    #521294
  • Pipeline finished with Failed
    1 day ago
    Total: 174s
    #521301
  • Pipeline finished with Failed
    1 day ago
    Total: 161s
    #521304
  • Pipeline finished with Failed
    1 day ago
    Total: 191s
    #521334
  • Pipeline finished with Failed
    1 day ago
    Total: 299s
    #521336
  • 🇳🇱Netherlands joshahubbers

    Also fixed some pipeline-things. Only composer next minor fails. Don't know why exactly.

Production build 0.71.5 2024