Yes I’ve looked at the push notifications such as Firebase cloud messaging, and would still consider this for more notification type of user messages, in particular if the app is not even running.
My service needs this api level immediate notification for not only my Cordova app, but other apps that also use same REST service as my Cordova app. These include a pure Web app, and also Windows services, and soon another Windows desktop app. The notifications need to be real-time, they just tell the app to then do a REST call to get new data.
I think the Web sockets may be looking the closest… I’ll need to see if this works for the Web views used by Cordova, and then how security etc also works. The service is asp.net so an option is Signal R, as this wraps a number of protocols, including Web sockets… Only restriction is this has only has client libs for Web and Windows (no mac or Linux)
I think I’ll just try it in a test app, that will soon show if we have support or not.