iwhitet3
Forum Replies Created
-
Forum: Plugins
In reply to: [Web Push] Problem with version 1.1.5 and WordPress VIPMarking as resolved.
Forum: Plugins
In reply to: [Web Push] Problem with version 1.1.5 and WordPress VIPI see. I will pass that along to the client. I appreciate you taking the time to look into the problem.
Forum: Plugins
In reply to: [Web Push] Problem with version 1.1.5 and WordPress VIPSure.
1) I placed the web-push plugin directory in the theme plugins directory:
vip-quickstart/www/wp-content/themes/vip/longitudes/plugins
2) I activated the plugin via functions.php like so:
require_once( WP_CONTENT_DIR . '/themes/vip/longitudes/plugins/web-push/wp-web-push.php' );
3) I used the following values in the web push settings menu in the dashboard:
title: use site title
icon: use the site icon
show subscription icon
automatic prompting: ask the user to register as soon as he visits the site
interval between prompts: 0
push triggers: all checked
google chrome support: Entered GCM API Key and GCM Project NumberForum: Plugins
In reply to: [Web Push] Problem with version 1.1.5 and WordPress VIPThank you for the quick reply.
I installed the latest version (1.1.6) and I’m still having the same issues.
Safari is still showing a syntax error due to the es6 arrow function used in this code:
(function (global) { if (global.$swRegistrations) { return; } global.$swRegistrations = {}; if ('serviceWorker' in navigator) { var enabledSw = [{ "scope": "\/", "url": "\/?_wpswmanager=wpswmanager%2Fsw%2Fsw%40%2F" } ]; enabledSw.forEach(entry => { var scope = entry.scope; var swUrl = entry.url; global.$swRegistrations[scope] = navigator.serviceWorker.register(swUrl, { scope: scope }); }); } })(window);
The stage server is no public and I will need to get approval to give you credentials. I’ll have to get back to you on that.
Thanks.