nolanlawson / pinafore

Alternative web client for Mastodon (UNMAINTAINED)
https://pinafore.social
GNU Affero General Public License v3.0
1.02k stars 173 forks source link

pinafore notification settings lost? #1364

Open pwFoo opened 4 years ago

pwFoo commented 4 years ago

I experienced some time that notification settings are lost (disiabled instead of enabled). Tested 3-4 times until it seems to be saved. Verified with activate and reload with some delay. Checkboxes unchecked again. First time it was enabled and checked one day later because i got no notifications.

pwFoo commented 4 years ago

Version 1.11.2, self hosted

nolanlawson commented 4 years ago

Which browser and OS is this?

pwFoo commented 4 years ago

OnePlus 5

pwFoo commented 4 years ago

Updated pinafore to latest / 1.11.6.

pwFoo commented 4 years ago

I'm sure to enabled all notification settings. Today I get mastodon notifications in android about mentioned and nothing from pinafore.

image

Checkt the settings and disabled again?

image

I'm really sure to enabled notifications, checked it, reloaded the app, closed the app and opened to check again g So it really looks like a bug?

pwFoo commented 4 years ago

Today I updated to 1.11.7 without problems. Next notification I got via mastodon client I noticed that all notifications are disabled after update.

I enabled alle notifications 4 or 5 times (with time delay, reload app, checkboxes unchecked some times), until I get an error message, that another subscription exists. Not all notifications are enabled, but all notifications missed (got by mastodon client at the same device to verify that).

image

New that time! Also inside of the pinafore app I got NO notifications?

image

And notification settings looks good...

image

To be sure it isn't a browser / cache / system-worker problem I'll clear all data to verify next time. But in the past that hasn't solved the problem.

Cleared all data, logged in again and enabled notifications. Tested with desktop now and looks ok...

image

pwFoo commented 4 years ago

Verified on mobile. I don't need to enable push notifications more than one time! Looks like it's pending in background and checkboxes are unchecked!

Maybe you need a pending / waiting indicator during the request isn't finished? Now waiting for the next notification to check it.

amyspark commented 4 years ago

I get this a lot with Pleroma, it seems to delete push subscriptions for some reason. The endpoint api/v1/push/subscription returns 404 and Pinafore does not update the subscription accordingly.

pwFoo commented 4 years ago

Short time ago I changed mobile. Haven't experienced that problem with the new mobile or the old one before the change. Maybe fixed with one of the updates?

achou11 commented 1 year ago

I'm still experiencing this issue on my mobile device. Attempting to enable the push notifications in the app don't seem to be persisted reliably, and even when they are, the notifications don't actually work. I also made sure that notification permissions were enabled at the browser level for the pinafore domain.

Pixel 6 Android 13 Firefox Nightly app Pinafore 2.5.1

I figure it's an issue with Pinafore itself because I enabled them in https://elk.zone/ (a different PWA client for Mastodon), and the notifications work properly there.

Happy to create a separate issue if there's anything here that deserves its own attention, but figured that this issue is similar enough.