pinafore icon indicating copy to clipboard operation
pinafore copied to clipboard

pinafore notification settings lost?

Open pwFoo opened this issue 5 years ago • 10 comments

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 avatar Jul 30 '19 12:07 pwFoo

Version 1.11.2, self hosted

pwFoo avatar Jul 30 '19 12:07 pwFoo

Which browser and OS is this?

nolanlawson avatar Jul 31 '19 01:07 nolanlawson

OnePlus 5

  • Chrome for Android
  • Android 9 (OxýgenOS 9.0.7)

pwFoo avatar Jul 31 '19 06:07 pwFoo

Updated pinafore to latest / 1.11.6.

pwFoo avatar Jul 31 '19 07:07 pwFoo

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 avatar Aug 07 '19 20:08 pwFoo

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 avatar Aug 08 '19 17:08 pwFoo

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.

pwFoo avatar Aug 08 '19 17:08 pwFoo

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.

amyspark avatar Aug 18 '19 14:08 amyspark

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?

pwFoo avatar Oct 09 '19 08:10 pwFoo

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.

achou11 avatar Jan 05 '23 16:01 achou11