Service Worker only works for pages served over HTTPS. See https://crosswalk-project.org/jira/browse/XWALK-5919
From: Crosswalk-help <[email protected]> on behalf of Phyo Arkar <[email protected]> Date: Friday, 6 January 2017 at 10.15 To: "[email protected]" <[email protected]> Subject: Re: [Crosswalk-help] Service worker based Notifications not working It is working well in Chrome for android 50+ On Fri, Jan 6, 2017 at 2:41 PM Phyo Arkar <[email protected]<mailto:[email protected]>> wrote: Is that a bug ? On Fri, Jan 6, 2017 at 2:40 PM Phyo Arkar <[email protected]<mailto:[email protected]>> wrote: Tested with latest cordova-crosswalk-webview-plugin and crosswalk android . Destkop Notification works for android var noti = new Notificaiton ("hello world") Service Worker Notificaitons dosen't do anything (no Error at all) self.registration.showNotification("New Question from " + data.user, { body: data.message, tag: "new-quest", renotify: true, vibrate: [200, 100, 200,200,200] }) It returns a promise and the promise is resolved but it does nothing , no notification showed. --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
