Hi there.
I really like the PWA extension, but I can't get the push notifications to work...
This is the log:
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Notification Type: newPost
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:12:49] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:12:52] flarum.INFO: [PWA PUSH] Notification Type: newDiscussionInTag
[2022-02-27 23:12:52] flarum.INFO: [PWA PUSH] Sending for users with ids: [1]
[2022-02-27 23:12:52] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:12:52] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Notification Type: newPostInTag
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sending for users with ids: [1]
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Notification Type: newPost
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:19:33] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:20:24] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:20:24] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:20:24] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:20:24] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:21:00] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:21:00] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:21:00] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:21:00] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:21:26] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:21:26] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:21:26] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:21:26] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:22:17] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:22:17] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:22:17] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:22:17] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:23:01] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:23:01] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:23:01] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:23:01] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Notification Type: newPost
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Notification Type: newDiscussionInTag
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sending for users with ids: [1]
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:27:00] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Notification Type: newPost
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Notification Type: newDiscussionInTag
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sending for users with ids: [1]
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:30:18] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:31:01] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:31:01] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:31:01] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:31:01] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:31:16] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:31:16] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:31:16] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:31:16] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:31:35] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:31:35] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:31:35] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:31:35] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:31:56] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:31:56] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:31:56] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:31:56] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
[2022-02-27 23:32:38] flarum.INFO: [PWA PUSH] Notification Type: userMentioned
[2022-02-27 23:32:38] flarum.INFO: [PWA PUSH] Sending for users with ids: []
[2022-02-27 23:32:38] flarum.INFO: [PWA PUSH] Attempting to send 0 notifications.
[2022-02-27 23:32:38] flarum.INFO: [PWA PUSH] Sent 0 notifications successfully.
It seems the extension finds a user to send a notification to, but in the end still tries to send 0 notifications. I enabled notifications for every type and also double checked to enable it on the device. Resetting VAPID keys (and afterwards subscribing to notifications again) did not work, either.
Is this related to gmp? I cannot install it because our flarum is hosted on a shared hosting...
Maybe I missed something, feel free to make suggestions what I can try to get the notifications to work.