Changeset 2505820
- Timestamp:
- 03/30/2021 09:53:45 AM (5 years ago)
- Location:
- emitto
- Files:
-
- 5 edited
-
readme.txt (modified) (1 diff)
-
trunk/emitto.php (modified) (1 diff)
-
trunk/includes/emitto-functions.php (modified) (1 diff)
-
trunk/public/popup.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
emitto/readme.txt
r2505816 r2505820 4 4 Plugin URI: https://emitto.io/ 5 5 Author: https://producthive.io/ 6 Version: 2.0. 86 Version: 2.0.9 7 7 Text Domain: Emitto 8 8 License: GPL v2 or later -
emitto/trunk/emitto.php
r2505816 r2505820 5 5 Plugin URI: https://producthive.io 6 6 Author: https://producthive.io 7 Version: 2.0. 87 Version: 2.0.9 8 8 This program is free software: you can redistribute it and/or modify 9 9 it under the terms of the GNU General Public License as published by -
emitto/trunk/includes/emitto-functions.php
r2505816 r2505820 9 9 } 10 10 //Emitto - Core Functionality 11 define( 'MY_PLUGIN_VERSION', '2.0. 8' );11 define( 'MY_PLUGIN_VERSION', '2.0.9' ); 12 12 13 13 -
emitto/trunk/public/popup.js
r2505816 r2505820 447 447 if (Notification.permission === "denied") { 448 448 console.log("Notifications for this website are blocked by browser options") 449 } else { 450 451 const applicationServerKey = urlB64ToUint8Array(applicationServerPublicKey); 452 console.log('applicationServerKey: ', applicationServerKey); 453 swRegistration.pushManager.subscribe({ 454 userVisibleOnly: true, 455 applicationServerKey: applicationServerKey 456 }) 457 .then(function (subscription) { 458 459 console.log('enter before updateSubscriptionServer subscription: ', subscription); 460 let getUrl = window.location; 461 462 updateSubscriptionOnServer(subscription); 463 464 isSubscribed = true; 465 466 updateBtn(); 467 if (popup !== null) { 468 fadeOutEffect(popup) 469 } 470 }) 471 .catch(function (err) { 472 console.log('Failed to subscribe the user: ', err); 473 updateBtn(); 474 }); 449 475 } 450 451 const applicationServerKey = urlB64ToUint8Array(applicationServerPublicKey);452 console.log('applicationServerKey: ', applicationServerKey);453 swRegistration.pushManager.subscribe({454 userVisibleOnly: true,455 applicationServerKey: applicationServerKey456 })457 .then(function (subscription) {458 459 console.log('enter before updateSubscriptionServer subscription: ', subscription);460 let getUrl = window.location;461 462 updateSubscriptionOnServer(subscription);463 464 isSubscribed = true;465 466 updateBtn();467 if (popup !== null) {468 fadeOutEffect(popup)469 }470 })471 .catch(function (err) {472 console.log('Failed to subscribe the user: ', err);473 updateBtn();474 });475 476 } 476 477 } -
emitto/trunk/readme.txt
r2505816 r2505820 4 4 Plugin URI: https://emitto.io/ 5 5 Author: https://producthive.io/ 6 Version: 2.0. 86 Version: 2.0.9 7 7 Text Domain: Emitto 8 8 License: GPL v2 or later
Note: See TracChangeset
for help on using the changeset viewer.