Intercept html5 browser notifications in webapp?
I am wondering it it might be possible to add HTML5 browser notifications to Morph or intercept them from a QML app similar to how @kugiigi does it with custom notifications in the Pesbuk app.
I am aware that this would only work with background suspension being disabled, but maybe if support for it was added to Morph this could be made to bypass this limitation for all Morph using applications?
Any ideas or suggestions?
Chris Clime started working on something, look here https://github.com/ubports/morph-browser/tree/xenial_-_notifications
That looks awesome, but it might actually be real webpush notifications?
dobey last edited by
@poVoq Real web push integration for the browser would indeed be the correct/best general solution for notifications here.
Of course that would be awesome/best, but real web push is not supported by many website and HTML5 apps, thus what I am originally asking for is a workaround using the desktop notifications that are much more widely supported.
poVoq last edited by poVoq
Has anyone tried this: https://github.com/balcy/example-webcontainer-notifications
It looks a exactly like what I have in mind...
Edit: Tested it, but it currently doesn't seem to work?
Edit2: The HTML5 notification tester website in general doesn't seem to work on Morph
Edit3: Confirmed by developer that this also needs the xenial_notifications branch of Morph. Lets hope that it will be merged upstream soon Keeping my fingers crossed for OTA15.