Friday, June 7, 2024
HomeiOS Developmentandroid - Platform-independent push notifications for MAUI and/or browser-based purposes

android – Platform-independent push notifications for MAUI and/or browser-based purposes


I’m on the idea stage in growing a brand new software to be used on a smartphone (Android or iOS) the place all the actual work is occurring on the server. If deployed as a smartphone app, it will be performed in MAUI, in any other case it will simply be a browser app. The figuring out issue is push notifications. The appliance must ship push notifications to a focused machine in close to real-time (latency as much as 1min may very well be tolerated however ideally no quite a lot of seconds). Notification supply should happen no matter app state on the machine i.e. app shouldn’t must be foregrounded/energetic/operating, if carried out as a browser app, browser shouldn’t must be operating.

I’m aware of (and have carried out) an answer for Home windows Cellphone utilizing WNS, so have a superb understanding of what is wanted and potential inside a (now out of date) single-vender ecosystem, however now present platforms in a combined world. I am conscious of Azure Notification Hub and have seen point out of Firebase, however I am not discovering any clear “how-to” paths for both, not seen point out of another choices, nor seen any dialogue of trade-offs between obtainable choices.

Can a purely browser-based app obtain push notifications no matter browser state i.e. do all fashionable smartphone browsers help “background” push notifications? If that’s the case, the place can I discover related documentation for the way a tool registers to obtain notifications and the way a server sends a notification to a goal machine?

If fashionable browsers don’t help push notifications whereas inactive, my query turns to MAUI… Are Firebase and Azure Hub the one possible choices? For every, what does the MAUI app do to register for notification and what does the server do to ship a notification?

I ought to observe that the message recipient will solely be a cell machine, by no means a desktop.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments