thunderbird-android
thunderbird-android copied to clipboard
No mails received after K9-Mail has been updated until App is manually opened
Describe the bug When Google Play Store updated K9 Mail App you won't get notified about new E-Mails until you manually open K9-Mail again.
To Reproduce Steps to reproduce the behavior:
- Let Google Play Store do an automatic update of K9-Mail
- Send an E-Mail to your account used by K9-Mail
- No notification of new Mail will be displayed
- Hours later open K9 Mail your mail from step 2 will be received (probably a lot of others, too).
Expected behavior K9-Mail is restarted in background automatically if it has received an update.
Environment:
- K-9 Mail version: various, after each Update
- Android version: 11
- Device: Samsung Galaxy S10 Lite
- Account type: IMAP
Did you configure K-9 Mail to use Push or periodic polling?
Its configured to push only. Polling is set to never.
I update via f-droid, and after an install, there is an 'Open' button. If not, the app is not started, and of course it was stopped during upgrade. So it is unsurprising to me that notifications are not received. This could be a bug in an app store client or android itself that the BOOT intent isn't sent to apps post update if it is registered to get it on boot, or however this is supposd to work.
Same here, last update from Google Play was today. It has happened twice so far, the "Waiting for new emails" notification disappears after the app gets updated. I have my Google Play set to not update apps automatically, only notify me when updates are available. So I can say for sure this is related to the update process.
I think this is an Android issue, I have the same behaviour with a number of other apps for example MacroDroid
Using the version from F-Droid, I never get any notifications.
This is simply not tolerable. I dont really need them, but I have them enabled and still dont get any! This is crazy.
Meanwhile "Feeder" from f-Droid can send my altert Feeds within a few minutes, without even disabling Battery optimisation or having a permanent notification.
Signal and Telegram FOSS have a permanent notification, which sucks a lot of battery. I would not prefer that.
But please, integrate something like this, its crazy.
On initial load of k9mail with the latest Android on Pixel 6 pro, k9mail notifications work fine (battery optimization is disabled etc.) , but something happens at some point and push notifications stop working and i need to refresh to get new mail. A reboot resolves the issue. This has been an issue for a very long time and I'm just now getting annoyed enough by it. I do use a VPN app but that should not matter. I wouldn't mind a persistent notification like Signal uses as long as it works.
Since updating to the newest version and enabling the persistent notification (ie, not hiding the icon), I have not had an issue yet, I will report back if it happens again. The k9 app states that Android allows you to hide the notification, but it seems like I had problems doing that. At least so far it seems like that. Thanks for a great app btw.
This issue is about the app not being restarted after an app update. Not about generic sync problems. For that please create a new issue. Make sure to include a debug log, so we have a chance to find out what's going on.