Make rate limit challenge APNs payloads "silent"

This commit is contained in:
Jon Chambers 2023-11-10 10:25:56 -08:00 committed by Jon Chambers
parent 38bc0c466a
commit fbf71c93ff
1 changed files with 1 additions and 2 deletions

View File

@ -114,8 +114,7 @@ public class APNSender implements Managed, PushNotificationSender {
.build();
case RATE_LIMIT_CHALLENGE -> new SimpleApnsPayloadBuilder()
.setSound("default")
.setLocalizedAlertMessage("APN_Message")
.setContentAvailable(true)
.addCustomProperty("rateLimitChallenge", notification.data())
.build();
};