Skip to content

Commit 2bd0466

Browse files
authored
Update README.md
1 parent 2c24f4c commit 2bd0466

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ You can customize automatic padding in order to better fit your needs.
301301

302302
Here are some ideas of settings:
303303

304-
* (default) `Encryption::MAX_COMPATIBILITY_PAYLOAD_LENGTH` (3052 bytes) for compatibility purposes with Firefox for Android
304+
* (default) `Encryption::MAX_COMPATIBILITY_PAYLOAD_LENGTH` (3052 bytes) for compatibility purposes with Firefox for Android (See [#108](https://github.com/web-push-libs/web-push-php/issues/108))
305305
* `Encryption::MAX_PAYLOAD_LENGTH` (4078 bytes) for maximum security
306306
* `false` for maximum performance
307307
* If you know your payloads will not exceed `X` bytes, then set it to `X` for the best balance between security and performance.
@@ -382,6 +382,10 @@ Make sure to require Composer's [autoloader](https://getcomposer.org/doc/01-basi
382382
require __DIR__ . '/path/to/vendor/autoload.php';
383383
```
384384

385+
### I get authentication errors when sending notifications
386+
387+
Make sure to have database fields that are large enough for the length of the data you are storing ([#233](https://github.com/web-push-libs/web-push-php/issues/233#issuecomment-1252617883)). For the endpoint, users have reported that the URL length does not exceed 500 characters, but this can evolve so you can set it to the 2048 characters limit of most browsers.
388+
385389
### I lost my VAPID keys!
386390

387391
See [issue #58](https://github.com/web-push-libs/web-push-php/issues/58).

0 commit comments

Comments
 (0)