Make registration challenge APNs payloads "silent"
This commit is contained in:
parent
fbf71c93ff
commit
acd1140ef6
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue