question

KailashPandey-8878 avatar image
4 Votes"
KailashPandey-8878 asked RohitKule-2730 commented

Does Azure Notification Hub Service support Progressive Web Application for sending push notifications

I am building a progressive web app (in Javascript) which will be available to use across platforms. This is not a native iOS or Android application . I want to send notifications to this PWA app from Azure Notification Hub as my client already has an Azure subscription.

So far I have struggled to find any relevant document which describes how to implement it for PWA. Does it exist?

Please share documentation/sample-code-base on priority as my client needs to make decision on using Azure or other vendor like OneSignal.

May thanks !

azure-notification-hubs
· 4
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.

Hi @KailashPandey-8878

Thanks for the question. We will check in with the notification hubs team to see if your scenario is supported and get back to you.

Best,
Grace

0 Votes 0 ·

thank @Grace. It would be super helpful if you can escalate this with Notification hub team as we spent couple of days and haven't found anything relevant.

0 Votes 0 ·

Hi @KailashPandey-8878,

I reached out to the ANH team and will update this thread once I hear back from them. Thanks for your patience.

-Grace

1 Vote 1 ·

This is possible nowadays, check

https://github.com/drmanhatin/pwa_azure_notification_services_push_notification

  1. obtain device code through pwa

  2. register device using registerdevice.js

  3. send message using sendmessage.js

0 Votes 0 ·

1 Answer

Grmacjon-MSFT avatar image
1 Vote"
Grmacjon-MSFT answered RohitKule-2730 commented

Hi @KailashPandey-8878,

We appreciate your patience. Currently, ANH does not support PWAs. It’s on the team's roadmap, but there isn't a specific timeline we can share right now.

Thanks,
Grace

· 10
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.

This is incorrect, ANH can access PWA's through the GCM/FCM. Happy to demo if you want to see how its done

1 Vote 1 ·

Only android ATM though

0 Votes 0 ·
BMM-KR avatar image BMM-KR VictorSanner-1296 ·

I would be interested in this.

0 Votes 0 ·

I'll add my documented code to github and reply to this in a few days

1 Vote 1 ·
Show more comments

Is there any update on this?
A timeline would be good

0 Votes 0 ·

Hi @PeterKerr-1562,

As I mentioned above, there isn't a specific timeline we can share right now. However, if you have specific requirements for your project and can give more details about your scenario we can share it with the ANH team. Can you please send me an email at AzCommunity@microsoft.com with the subject "ATTN Grace" so I can connect you with the ANH team offline?

Thanks,
Grace

0 Votes 0 ·

Any update on the above query?

0 Votes 0 ·