element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 479 forks source link

Push notifications come without sound #7636

Closed lirigorm closed 11 months ago

lirigorm commented 11 months ago

Steps to reproduce

notifications come but no sound or vibration

Outcome

I have tried toggling notifications on and off in iOS settings, in app settings on iPhone, in desktop client settings. nothing helps. in the desktop application everything works well.

Your phone model

iPhone 11

Operating system version

iOS 16.5.1

Application version

Element iOS 1.10.14

Homeserver

No response

Will you send logs?

No

soda-pop-ice-cream commented 11 months ago

I have same issue, no push sound on phone or watch. iOS 16.5.1 iPhone 14 Pro In web version global notifications setting everything is set to "Noisy" Tried adding element to focus mode, removing it from focus, disabling focus. Element iOS 1.10.14

hlukasz commented 11 months ago

I can confirm the same issue on my side. Trying toggling notification options, rebooting phone, reinstalling app, no luck.

iPhone 13 mini iOS: 16.6 Element: 1.10.14 Server: matrix.org

chriswegit commented 11 months ago

I can confirm the sound/vibration issue. Tried toggling the notification options in ios settings and in the app but nothing helps. No problems regarding sound/vibration on Android and linux desktop client.

On my side I also noticed that message preview in the push notification bubble is not working when the iPhone is unlocked.

Edit: There's no sound for phone calls too when app is closed or in background. When app is open on screen it works and the phone rings.

iPhone XR / iPhone 8 iOS 16.6 Element 1.10.14 Server: Synapse Homeserver

AverageMarcus commented 11 months ago

Glad to hear it's not just me. I've just spent a couple hours trying everything I could think of to get it working again. 😓

Like those above, tried toggling notifications on/off, toggling DnD modes, toggling sound on/off, reinstalled the app, restarted phone several times between each of these changes and even decided to try upgrading to the iOS 17 Public Beta (was on my todo list already so why not). Nothing worked and now no notifications from Element cause vibrations on either my phone or my Apple Watch.

The notifications still show in the notification center and on the Apple watch, as well as the notification bubble on the app icon, but no vibration or sound accompanies them.

I suspect it is this change that caused it: https://github.com/matrix-org/matrix-ios-sdk/commit/67f6539d731c801edafe12415b1b023185f46200

iPhone 12 iOS: 16.6 / 17 Public Beta Element 1.10.14 Server: Synapse Homeserver v1.90.0

Edit: Element 1.11.0 still has the same bug.

lirigorm commented 11 months ago

I tried version 1.11.0. There is no notification sound. iOS 16.6

AverageMarcus commented 11 months ago

@stefanceriu I'm not sure the O-Occasional label is correct. This is consistently occurring for me with any and all notifications.

@lirigorm could I suggest also mentioning the lack of vibrate in the title of this issue too?

lirigorm commented 11 months ago

@lirigorm could I suggest also mentioning the lack of vibrate in the title of this issue too?

Yes please

stefanceriu commented 11 months ago

As luck would have it we were just looking at this today but we're having problems tracking down the root cause. Any idea if 1.10.14 is where it regressed?

AverageMarcus commented 11 months ago

1.10.14 is where I experienced it but I can't say for sure what very I was on before that but I'm generally up-to-date with my apps so I'm ~90% sure it was working on 1.10.13.

santiagz commented 11 months ago

I had the same problem. synapse version: 1.90.0 element-ios version: 1.10.14

however, if i connect with element-ios version 1.10.14 to a synapse server with version: 1.72.0 all notifications work correct

chriswegit commented 10 months ago

Can anyone above confirm this problem is solved? Still no sound for push notifications on my side with the latest update. Should I open a new issue for this?

iPhone 11 / iPhone XR / iPhone 8 iOS 16.6 Element 1.11.1 Server: Synapse Homeserver 1.91.2

santiagz commented 10 months ago

@chriswegit updating to 1.11.1 solved the problem for me.

AverageMarcus commented 10 months ago

Also solved for me, thank you!

chriswegit commented 10 months ago

@santiagz @AverageMarcus Thank you for your response. Could this be some server-side ios specific push problem? i haven't looked deeper inside my server configuration file yet because push on my android devices and linux desktop works fine. Did you made some special configuration on that when setting up your server?

Chris