Make registration challenge APNs payloads "silent"

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2023-11-13 08:39:58 -08:00
1 parent fbf71c93ff
commit acd1140ef6
1 file changed
+1 -2
@@ -108,8 +108,7 @@ public class APNSender implements Managed, PushNotificationSender {
.build();
case CHALLENGE -> new SimpleApnsPayloadBuilder()
.setSound("default")
.setLocalizedAlertMessage("APN_Message")
.setContentAvailable(true)
.addCustomProperty("challenge", notification.data())
.build();