NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This
helps with diagnosing problems quicker.
Please confirm the following:
Please provide the following details, the more info you can provide the
better.
Please check that you have installed and enabled these PHP extensions :
YUP
Please select any browsers that you are experiencing problems with:
firefox for android doesn't work with default setting. Works when $webPush->setAutomaticPadding(false); is set .
Errors with the default setting, Haven't checked other values, but the default fails with a 410 error
["message"]=>
string(427) "Client error: POST https://updates.push.services.mozilla.com/wpush/v2/gAAAAA..........M-yXA
resulted in a 410 Gone
response:
{"code": 410, "errno": 999, "error": "", "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes",
to return true.
Features Usedfunction webPush_Register() {
$authPush = array(
'VAPID' => array(
'subject' => 'https://coinvalue.me',
'publicKey' => PUBLICKEY,
'privateKey' => PRIVVATEKEY
),
);
$webPush = new WebPush($authPush);
// $webPush->setAutomaticPadding(false); // disable automatic padding
return $webPush;
}
Thanks for the library :)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4