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

Delay in receiving notifications #8434

Open
2 tasks done
Lorograch1 opened this issue Oct 29, 2024 · 22 comments
Open
2 tasks done

Delay in receiving notifications #8434

Lorograch1 opened this issue Oct 29, 2024 · 22 comments
Labels
status: answered The issue was answered and is waiting for maintainer review. type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation

Comments

@Lorograch1
Copy link

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App

Thunderbird for Android

App version

8.0b4

Where did you get the app from?

Google Play

Android version

Android 14

Device model

POCO F6

Steps to reproduce

  1. Wait for notification when a mail comes through

Expected behavior

No delay in notofications when a mail arrives.

Actual behavior

There is a delay in receiving notifications even when i enabled push notifications. This is happening only for thunderbird for android beta. I have K-9 mail on my other phone which dorsnt have this issue. While compaeing, i receive notifications on time from K-9 mail on POCO F3 but there is a delay evident on thuderbkrd for android on my POCO F6

Logs

No response

@Lorograch1 Lorograch1 added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Oct 29, 2024
@kewisch
Copy link
Member

kewisch commented Oct 30, 2024

Can you check the folder settings for the folders that are delayed? There are new settings, if you could either enable "sync" or "push", it should be a bit quicker. Please also make sure you have granted notification permissions to the app.

@kewisch kewisch added the status: needs information Needs more information to proceed label Oct 30, 2024
@suprunchuk
Copy link

@kewisch hi. I also receive notifications with a long delay. or they come very late at all. I have added 4 accounts to the app version 8.0 stable release. All notification permissions have been granted. I have an android 15 pixel 7.

@github-actions github-actions bot removed the status: needs information Needs more information to proceed label Oct 31, 2024
@Lorograch1
Copy link
Author

Can you check the folder settings for the folders that are delayed? There are new settings, if you could either enable "sync" or "push", it should be a bit quicker. Please also make sure you have granted notification permissions to the app.

Hi, Thanks for coming back. I had already enabled push notifications but still experience delays.

@kewisch
Copy link
Member

kewisch commented Oct 31, 2024

Can you provide a screenshot of the folder settings for the folder where you are experiencing delays? In your Android notifications, do you see a persistent notification about checking emails?

@kewisch kewisch added the status: needs information Needs more information to proceed label Oct 31, 2024
@github-actions github-actions bot removed the status: needs information Needs more information to proceed label Oct 31, 2024
@suprunchuk
Copy link

suprunchuk commented Oct 31, 2024

I have all the sliders turned on.The notification center sometimes asks for access to "alarms"?? Why is this?

I have never seen a persistent notification about checking emails

@suprunchuk
Copy link

When I allowed the "alarm clock setting", I got a bell icon in the curtain.

@suprunchuk
Copy link

Hello friend @Lorograch1. I think the situation got better after I gave the app access to the alarm clock. after that, I always have a bell icon and a "push" in my curtain. but this can be removed through the application settings. try also to give access to the alarm clock.

@Lorograch1
Copy link
Author

Hello friend @Lorograch1. I think the situation got better after I gave the app access to the alarm clock. after that, I always have a bell icon and a "push" in my curtain. but this can be removed through the application settings. try also to give access to the alarm clock.

I had already given that permission.
Whats surprising is that when i go to the app, i have to manually pull down to refresh/sync emails. A mail that i recieved at 12.57 pm hit my box at 13.01 when i pulled down the refresh.

@kewisch
Copy link
Member

kewisch commented Nov 1, 2024

The alarms permission is needed to schedule timers that are more accurate and is a necessity to make notifications work reliably.

@Lorograch1 if you don't pull down to refresh, how much time does it take for the update to appear automatically? Do you also have all the folder settings enabled?

@kewisch kewisch added the status: needs information Needs more information to proceed label Nov 1, 2024
@Lorograch1
Copy link
Author

Please see below attached screenshot of the folder settings. Thanks.

Screenshot_2024-11-01-18-13-07-399_net thunderbird android beta-edit

@github-actions github-actions bot removed the status: needs information Needs more information to proceed label Nov 1, 2024
@Lorograch1
Copy link
Author

@Lorograch1 if you don't pull down to refresh, how much time does it take for the update to appear automatically? Do you also have all the folder settings enabled?

Around 1-2 minutes, i would say

@suprunchuk
Copy link

similarly, I also have. There may be a delay of up to 3-5 minutes. it seems to depend on the server of the added mail? if I manually pull the list, I will receive a push immediately. and if you just wait, it will be a kind of delay.

@halfbytecode
Copy link

I also have the delay with notifications. The delay can be for over 30 minutes and even upto an hour for me.

I have Push enabled for both of my e-mail accounts, with Alarms permission also granted to Thunderbird 8.0 (GitHub version). I have even disabled battery optimization for it.

I also notice identical behavior with K-9 Mail 6.804, and I have always faced this with previous versions of it as well.

I hope it gets fixed soon.

@cketti
Copy link
Member

cketti commented Nov 3, 2024

To figure out what's going on we need more information. Please record a debug log. See https://github.com/thunderbird/thunderbird-android/wiki/LoggingErrors

@cketti cketti added the status: needs information Needs more information to proceed label Nov 3, 2024
@CovacS1337
Copy link

CovacS1337 commented Dec 2, 2024

k9mail-logs.txt
This is happening to me as well and it has been happening since it's released.

No matter what, I'm never notified of any new emails and it requires me to do the pull down to refresh to see any kind of new emails that have come in. I never get notified of any emails regardless. I verified all settings and notification preferences to ensure that everything is off to prevent any issues.

Logs attached

@github-actions github-actions bot added status: answered The issue was answered and is waiting for maintainer review. and removed status: needs information Needs more information to proceed labels Dec 2, 2024
@JanLaalaa
Copy link

Seems like I have finally figured this issue out. Its solution is quite simple.
Step 1: In the Manage folders settings "Enable Push" in the inbox options.
Step 2: Then go to the global setting (settings gear at the bottom left corner) from there select the desired email account. In the account settings click on "Notifications" and enable "New mail notifications".
Enjoy!

@Lorograch1
Copy link
Author

Seems like I have finally figured this issue out. Its solution is quite simple. Step 1: In the Manage folders settings "Enable Push" in the inbox options. Step 2: Then go to the global setting (settings gear at the bottom left corner) from there select the desired email account. In the account settings click on "Notifications" and enable "New mail notifications". Enjoy!

All of that was already enabled.

@JanLaalaa
Copy link

Seems like I have finally figured this issue out. Its solution is quite simple. Step 1: In the Manage folders settings "Enable Push" in the inbox options. Step 2: Then go to the global setting (settings gear at the bottom left corner) from there select the desired email account. In the account settings click on "Notifications" and enable "New mail notifications". Enjoy!

All of that was already enabled.

It wasn't enabled when I installed it (version 8.1). As soon as I enabled it, the app started working flawlessly.

@CovacS1337
Copy link

Seems like I have finally figured this issue out. Its solution is quite simple. Step 1: In the Manage folders settings "Enable Push" in the inbox options. Step 2: Then go to the global setting (settings gear at the bottom left corner) from there select the desired email account. In the account settings click on "Notifications" and enable "New mail notifications". Enjoy!

This seems to have worked.

Why is this not enabled by default or at least a prompt asking when added so the user knows and can choose....

Thanks for this!!

@halfbytecode
Copy link

halfbytecode commented Dec 8, 2024

Seems like I have finally figured this issue out. Its solution is quite simple. Step 1: In the Manage folders settings "Enable Push" in the inbox options. Step 2: Then go to the global setting (settings gear at the bottom left corner) from there select the desired email account. In the account settings click on "Notifications" and enable "New mail notifications". Enjoy!

As said by @Lorograch1 this was already enabled for me as well. Still I tried disabling and re-enabling for my e-mail accounts. However, there is still delay with the notifications for me, with Push enabled.

I was reading on Reddit a while ago that most e-mail apps use a dedicated server for push notifications, while Thunderbird and K-9 Mail don't. That seems like the reason for this issue.

For reference, we can look at the code of AOSP E-Mail app, which was used in Lineage OS earlier as well. However, I have not checked if that uses a dedicated server for push notifications, but those were reliably working for me on that.

@Crash1602
Copy link

I have the same problem on two devices, Pixel 8 and Pixel 8 Pro (Android 15) with the Thunderbird App 8.2. The push settings are all set and checked. New emails are not reliably shown via notifications, sometimes immediately, sometimes after several minutes, or not at all. They also do not always appear immediately in the inbox, and I have to force the update by pulling down. The notification function is unreliable. I noticed that if I turn off and on sync or push for a folder, the emails are retrieved immediately. This might not be very interesting, but I wanted to mention it anyway.

I hope this problem will be fixed on Android 15.

@vGuidesLabs
Copy link

I have the same problem on two devices, Pixel 8 and Pixel 8 Pro (Android 15) with the Thunderbird App 8.2. The push settings are all set and checked. New emails are not reliably shown via notifications, sometimes immediately, sometimes after several minutes, or not at all. They also do not always appear immediately in the inbox, and I have to force the update by pulling down. The notification function is unreliable. I noticed that if I turn off and on sync or push for a folder, the emails are retrieved immediately. This might not be very interesting, but I wanted to mention it anyway.

I hope this problem will be fixed on Android 15.

Same behavior here, Android 15 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: answered The issue was answered and is waiting for maintainer review. type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation
Projects
None yet
Development

No branches or pull requests

9 participants