A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/web-push-libs/web-push-php/issues/108 below:

Firefox for Android doesn't deliver every push notifications · Issue #108 · web-push-libs/web-push-php · GitHub

NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This
helps with diagnosing problems quicker.

Please confirm the following:

Setup

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:

Problem

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",

Expected

to return true.

Features Used Example / Reproduce Case

function 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;
}

Other

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