Another question on Web apps: Push notifications. It seems like adding "push-notification-client" to the .apparmor file doesn't make push notifications work in a WebApp. Is the documentation on [1] only applicable for native apps?
Skype for Web sends desktop notifications (the website asks you for permission in the beginning), and I'd love to provide push notifications with the WebApp. (I must confess, I've simply added the value to the .apparmor file and restarted the WebApp (after clearing cache and configuration). I've not tested reinstalling a .click package e.g. via the Ubuntu Store.) Any hints greatly appreciated, Peter [1] https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ ("Policy groups" section) 2015-08-13 15:11 GMT+02:00 Peter Bittner <[email protected]>: > Awesome, that works, thank you! > > We now have a working Skype WebApp for Ubuntu Touch. Enjoy! > https://uappexplorer.com/app/skype.peter-bittner > > I've reported the misleading documentation (ubuntu-webapps-guide) at > https://bugs.launchpad.net/developer-ubuntu-com/+bug/1484529 > > Cheers, Peter > > > 2015-08-13 10:51 GMT+02:00 sturmflut <[email protected]>: >> Hey Peter, >> >> according to "webapp-container --help" the parameter is supposed to be >> "--user-agent-string=". Seems to work for me. >> >> cheers, >> Simon >> >> >> >> On 08/13/2015 12:55 AM, Peter Bittner wrote: >>> I'm working on the Skype (Unofficial) WebApp [1] for Ubuntu Touch, and I >>> need some clarifications. >>> >>> According to the Ubuntu WebApps Guide [2] it is possible to override the >>> browser's user agent string. This has to be done in the project's >>> .desktop file (e.g. [3]) using the --user-agent-override='<string>' >>> argument. >>> >>> Unfortunately, this seems to have no effect. I've tested this with a >>> WebApp that opens a website showing the user agent sent, and it displays >>> the usual Ubuntu Touch user agent instead of the specified one. >>> >>> Can anybody confirm this argument has ever worked? Or is there something >>> I'm doing wrong? Thanks for any hint, Peter >>> >>> [1] https://github.com/bittner/skype >>> [2] https://developer.ubuntu.com/en/web/ubuntu-webapps-guide/ >>> [3] https://github.com/bittner/skype/blob/master/skype.desktop#L6 -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

