question

HeinenKoertMEMIC-0716 avatar image
0 Votes"
HeinenKoertMEMIC-0716 asked Grmacjon-MSFT answered

Scheduled notifications

Hi all,

I'm pretty new with Azure. I set up a notification hub in combination with Xamarin Forms apps, this works well with (silent) test notifications. Now I have to schedule these notifications, actually infinite, two times an hour. I can't really find good documentation about this (except some basic information https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-send-push-notifications-scheduled) . What is the best way to accomplish this? Is there a direct way from Azure? Or do I have to use WebJobs to call an API that resets the notifications every 7 days (maximum if I understood correctly?).

dotnet-xamarinazure-notification-hubs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered

Hi @HeinenKoertMEMIC-0716,

Thanks for using Azure.

There is currently a limit in extending notification past 7 days. Here is an SO post explaining why the limit exists:

"Unfortunately, this restriction isn't quite as arbitrary as it seems. It's coming from an underlying system that Notification Hub uses to park those scheduled notifications that forces that limit, and there is no way to increase that limit.

So we aren't able to pass along any kind of increase to customers. If you scheduled for longer than that, I believe Notification Hubs would reject the request."

Hope that helps.

Best,
Grace

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.