mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Fix silent push notifications for iOS, it should not contain alert, badge nor sound keys in aps (#1808)
This commit is contained in:
parent
486845242f
commit
56ee3bd290
@ -65,7 +65,7 @@ namespace Bit.Core.Services
|
|||||||
break;
|
break;
|
||||||
case DeviceType.iOS:
|
case DeviceType.iOS:
|
||||||
payloadTemplate = "{\"data\":{\"type\":\"#(type)\",\"payload\":\"$(payload)\"}," +
|
payloadTemplate = "{\"data\":{\"type\":\"#(type)\",\"payload\":\"$(payload)\"}," +
|
||||||
"\"aps\":{\"alert\":null,\"badge\":null,\"content-available\":1}}";
|
"\"aps\":{\"content-available\":1}}";
|
||||||
messageTemplate = "{\"data\":{\"type\":\"#(type)\"}," +
|
messageTemplate = "{\"data\":{\"type\":\"#(type)\"}," +
|
||||||
"\"aps\":{\"alert\":\"$(message)\",\"badge\":null,\"content-available\":1}}";
|
"\"aps\":{\"alert\":\"$(message)\",\"badge\":null,\"content-available\":1}}";
|
||||||
badgeMessageTemplate = "{\"data\":{\"type\":\"#(type)\"}," +
|
badgeMessageTemplate = "{\"data\":{\"type\":\"#(type)\"}," +
|
||||||
|
Loading…
Reference in New Issue
Block a user