@MoushumiNBhola, Thanks for the follow-up.
This doesn't work on Azure Notification Hub. Azure Web PubSub can be used to send real time notifications.
Kindly see if Azure Web PubSub works as outlined in this blog - Send Angular Web Push Notification with Azure Web Pub-Sub.
As another approach, if your application can obtain a device handle/token from the physical device, then you can use our REST APIs to register the device and send notifications to it.
As for as hosting app, Azure offers a number of ways to host your application code.
The flowchart in the doc, will help you to choose a compute service for your application.
Please see this doc for only supported clients samples on Azure Notification Hub.
I have relayed this feedback internally to our product team. Thanks for your patience!
As a side note, I have shared a link to a third-party article, just as a FYI to you.
--
To benefit the community find the right answers, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’.