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();
|
.build();
|
||||||
|
|
||||||
case CHALLENGE -> new SimpleApnsPayloadBuilder()
|
case CHALLENGE -> new SimpleApnsPayloadBuilder()
|
||||||
.setSound("default")
|
.setContentAvailable(true)
|
||||||
.setLocalizedAlertMessage("APN_Message")
|
|
||||||
.addCustomProperty("challenge", notification.data())
|
.addCustomProperty("challenge", notification.data())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue