PushSharp обрабатывает очередь только при вызове остановки. Кто-нибудь знает, как часто push sharp будет обрабатывать очередь или сбрасывать ее? Я не хочу вызывать стоп и старт каждый раз, когда я хочу отправить уведомление для экономии ресурсов.
pushService = new PushService();
pushService.StartApplePushService(new ApplePushChannelSettings(prod, cert.InputStream.ReadToEnd(), passConfig.Value));
pushService.QueueNotification(
NotificationFactory.Apple().ForDeviceToken("mydeviceid").WithAlert("Notifications Started!").WithSound("default").WithBadge(7));
pushService.StopAllServices(true);