Hi,
I have implemented the web push notification using the web-push-PHP library and it is working well with Firefox, Chrome with Android (Mobile) but having an issue with desktop chrome.
I have checked multiple times the notification is popped up successfully in Firefox, Chrome with Android (Mobile) but in the desktop chrome, it does not popup.
[ Users can be subscribed successfully but not able to send the notification in desktop chrome]
I have print the response of
$webPush->sendNotification(
$notification['subscription'],
$notification['payload'] // optional (defaults null)
);
and its return 1 even though notification does not push to chrome desktop browser, if I push notification manually from crome-developer mode/application/service-worker then the notification will push.
Hi, I have implemented the web push notification using the web-push-PHP library and it is working well with Firefox, Chrome with Android (Mobile) but having an issue with desktop chrome. I have checked multiple times the notification is popped up successfully in Firefox, Chrome with Android (Mobile) but in the desktop chrome, it does not popup. [ Users can be subscribed successfully but not able to send the notification in desktop chrome] I have print the response of $webPush->sendNotification( $notification['subscription'], $notification['payload'] // optional (defaults null) ); and its return 1 even though notification does not push to chrome desktop browser, if I push notification manually from crome-developer mode/application/service-worker then the notification will push.
operating system: Linux PHP Version: 7.3