iOS push notifications are silent?

This is probably an iOS/Bitwarden client thing, but thought I’d ask here …

Using “log in with device” I get the push notification banner on my iPhone but it doesn’t make a sound like other push notifications from other apps do.

image

Not a huge problem since typically I know I am using “log in with device” so have my phone ready to go, just was puzzled that it wasn’t making the typical sound (and yes, all the sound options under notification settings for the Bitwarden app are enabled).

1 Like

How did you get your iOS to show any notification banner from the login requests?

On my iPhone, I have to get in the application, go to Settings > Account security > Pending login requests; and manually accept the request.

As explained in this thread you have to setup your reverse proxy to use the new rocket websocket implementation for the login with device feature to work:

Thank you @stefan0xC, I was missing setting up this:

PUSH_ENABLED=true
PUSH_INSTALLATION_ID=xxx
PUSH_INSTALLATION_KEY=xxx

Getting my ID and KEY from Requesting Hosting Installation ID & Key | Bitwarden
And setting all on my Synology NAS > Container Manager > Vaultwarden container > Environments.

More at: Vaultwarden activate Push notification for mobile devices and Using Bitwarden's push service · dani-garcia/vaultwarden · Discussion #2469 · GitHub

Question, is it necessary to include PUSH_RELAY_BASE_URI?

PUSH_RELAY_BASE_URI=https://push.bitwarden.com

No, this is the default:

It’s only necessary if you use the EU data region. Cf. Enabling Mobile Client push notification · dani-garcia/vaultwarden Wiki · GitHub

1 Like

It is. Seems like they don’t set the UNMutableNotificationContent.Sound property:

1 Like

Cool, thanks @stefan0xC. I’ll just hope this is fixed in later versions of the Bitwarden client then.

Create an issue on bitwarden GitHub. Otherwise nothing will be done about it.

1 Like

Good idea: iOS push notifications are silent · Issue #2997 · bitwarden/mobile (github.com)

1 Like

Hi,
i am having same issue.
with NginxPM if someone knows please advice.

Thanks