6 months ago hanineParticipant
Dear support team,
I have an issue with the push notification plugin that's not working properly and giving an error in console : "Error during service worker registration: DOMException"
The configuration of the firebase was done correctly.
WPLMS push notification plugin version is 1.1
Notification allowed from browser, BuddyPress and Touch Points settings.
The configuration on the live tab was also done according to steps in the plugin instructions "knowledge base" (and also the character "\" added at the end of each line in private key was removed), then the database was generated correctly and rules were applied as should in database.
The issue comes when we reload the live page (backend and on every front-end page) there are 2 issues that appear in the console https://prnt.sc/om8k1r
To see the service that couldn't be registered (function "registerValidSW(swUrl)" ) I added a console.log in the wplms-pn-admin.js to retrun the value of "swUrl" and this is what was returned in console (with a label "test:") https://prnt.sc/om8kyp
I tried to send a notification from a course admin in front-end (option activated from settings of push notification) and the loading class of the button is there and the script is not executed fully until the position where the loading class is removed, here's the screen shot of elements and console :
Can you please provide any help to ensure this is working properly ?
Thank you in advance.5 months, 4 weeks ago AlexKeymasterThis reply has been marked as private.5 months, 4 weeks ago hanineParticipantThis reply has been marked as private.5 months, 1 week ago AlexKeymaster
Replies only viewable for logged in users
You must be logged in to reply to this topic.