[FEATURE REQUEST] Ability to read delivered notifications without connection to the server (when server offline)
Opened this issue · 5 comments
When server with Gotify and iGotify containers goes offline, last delivered messages is shown in the iPhone notification center, but when trying to read them iGotify application shows loading data.
After relaunching app:
“Unauthorized
Your client token is no longer valid!
Please add the instance again.
Delete Instance”
That’s basically neutralises the benefits of receiving notification when server goes offline as there is no way to know the reason of notification. E.g. pfSense goes offline dragging whole network down but the last notification about reboot can’t be read.
Please consider implementing ability to save delivered notifications on device and read them without active connection to the server.
Hi that's basically not possible because I can deliver only a small count of characters and for showing the complete notification I need a connection to the server.
But the message is basically delivered, no? Or connection to the sever with fetching messages is performed on app opening?
Only a part of the message, would be delivered, not the complete message, the reason is the notification size limit.
I’ve looked on this flow using Discord for notifications. Notification preview is a small text as you explained, but the whole message accessible without internet connection at all, so I guess they are fetching and saving it at the moment of notification.
I think your app is a great tool, so maybe you can consider investigating the possibility of saving messages on device, as this is definitely a way to make iGotify even better.
Thank you
Yeah they send the small message and save it, but my notifications are a bit complicated, because they are 256bit encrypted for reasons of the security. The notification they are sended are not encrypted I think.