Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Never get any notification when phone was switched off #390

Open
andyS1910 opened this issue Nov 27, 2024 · 1 comment
Open

Never get any notification when phone was switched off #390

andyS1910 opened this issue Nov 27, 2024 · 1 comment
Labels
a:feature New feature or request

Comments

@andyS1910
Copy link

andyS1910 commented Nov 27, 2024

Gotify works perfectly and I am verry happy with it - thanks to the developer! There is just one niggling problem that I just can't solve no matter what.

I send a push message with Curl to my gotify server and the gotify app on my smartphone notifies me immediately with all bells and whistles. So far so good. But when my phone is switched off completely during this command (and I switch it back on later again) it just won't notify me at all: No red dot on the app, no message, no sound - nothing. It just stays silent no matter how long I wait for something to happen. When I open the app the new notification is there - it just never notified me in the first place.

Is this an issue with the server, the app, a setting in Android or is there some kind of misunderstanding on my part here?

@jmattheis
Copy link
Member

The android apps currently notifies for messages sent while the app is running. Missed messages are sent, when the network is lost, but not for messages that were sent while the app wasn't running.

In theory this shouldn't be difficult to implement, we just have to store the last received message and then call the same methods as done in the network reconnected callbacks. I see this as a feature request.

@jmattheis jmattheis added the a:feature New feature or request label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature New feature or request
Development

No branches or pull requests

2 participants