File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 44
55- New: Added an enable push subscriptions toggle switch to the footer of the Notifications drop down.
66- Fixed an issue where the Subscribe button was appearing on some UCP pages unexpectedly.
7+ - Fixed an issue where push notifications failed on Android devices using Firefox as their browser.
78- Requires phpBB 3.3.12 or newer.
89
910### 1.0.0-RC4 - 2024-05-26
Original file line number Diff line number Diff line change @@ -194,6 +194,12 @@ protected function notify_using_webpush(): void
194194
195195 $ web_push = new \Minishlink \WebPush \WebPush ($ auth );
196196
197+ // Fix encryption payload size for Firefox on Android
198+ if (preg_match ('/android.*firefox/i ' , $ this ->user ->browser ))
199+ {
200+ $ web_push ->setAutomaticPadding (2820 );
201+ }
202+
197203 $ number_of_notifications = 0 ;
198204 $ remove_subscriptions = [];
199205
You can’t perform that action at this time.
0 commit comments