Make rate limit challenge APNs payloads "silent"
This commit is contained in:
parent
38bc0c466a
commit
fbf71c93ff
|
@ -114,8 +114,7 @@ public class APNSender implements Managed, PushNotificationSender {
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
case RATE_LIMIT_CHALLENGE -> new SimpleApnsPayloadBuilder()
|
case RATE_LIMIT_CHALLENGE -> new SimpleApnsPayloadBuilder()
|
||||||
.setSound("default")
|
.setContentAvailable(true)
|
||||||
.setLocalizedAlertMessage("APN_Message")
|
|
||||||
.addCustomProperty("rateLimitChallenge", notification.data())
|
.addCustomProperty("rateLimitChallenge", notification.data())
|
||||||
.build();
|
.build();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue