UnifiedPush / gotify-android

An app for creating push notifications for new messages posted to gotify/server.
MIT License
37 stars 2 forks source link

Getting logged out/logging in with a different account should let consumer know #4

Open freaktechnik opened 2 years ago

freaktechnik commented 2 years ago

I messed up database storage for my gotify instance, which meant that Gotify-UP would get logged out, and once I fixed it logged back in again. However, without any unified push apps that were previously registered. However, it seems the apps weren't informed that their push endpoint no longer exists, so they're still hoping for push notifications from the old push apps.

I think this should kind of be covered already with the handling of "deleted apps", though I could see this missing an account change vs. the app being deleted.

p1gp1g commented 2 years ago

If I understand well, you are telling that Gotify-UP doesn't send UNREGISTERED to the registered apps at logout but should ?

freaktechnik commented 2 years ago

At least in my case it didn't, where it got logged out by the server.