session-android
session-android copied to clipboard
[BUG] Sessions Only Receiving Notifications when the App is Opened
Code of conduct
- [X] I have read and agree to adhere to the Code of Conduct
Self-training on how to write a bug report
- [X] I have learned how to write a bug report
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When on a custom ROM in slow mode, Session will never poll the server for messages. I have to open the app for it to pull messages. I have seen some closed issues written about this awhile back and I assumed they were fixed back then. The current Session app is having this issue.
The battery optimization is set to unrestricted and the notification area is set to allow lock screen messages.
Expected Behavior
Session should eventually pull messages from the servers even if it is never opened. I know there is no inherent reason why this problem can't be fixed as Signal in its own version of slow mode has no issue with relaying messages without a Google Services.
This is making it impossible to use Session as a primary messaging app since you never receive messages until you open the app.
Steps To Reproduce
- Setup Session
- Lock phone
- Have someone message you
- Your never receive it until you open the app.
Android Version
14
Session Version
1.17.14
Anything else?
I used the Fdroid repository to get this version of Session.
I used the Fdroid repository to get this version of Session.
@Ryu945 Just wanted to confirm - you added https://fdroid.getsession.org/fdroid/repo
as a repo to F-Droid and then installed Session (as opposed to installing the "unofficial" version)?
I used the Fdroid repository to get this version of Session.
@Ryu945 Just wanted to confirm - you added
https://fdroid.getsession.org/fdroid/repo
as a repo to F-Droid and then installed Session (as opposed to installing the "unofficial" version)?
Correct. I added the official repository to Fdroid. Then I installed the official version of Session.
I used the Fdroid repository to get this version of Session.
@Ryu945 Just wanted to confirm - you added
https://fdroid.getsession.org/fdroid/repo
as a repo to F-Droid and then installed Session (as opposed to installing the "unofficial" version)?
An update has fixed this but the polling rate is incredibly low. I believe it is 1 hour. Can you change it to 30 seconds? Signal almost instantly sees a message in their version of slow mode. It has caused people to not want to use Session because it will be at least an hour before anyone sees it. You can't do real time communication with this.
I used the Fdroid repository to get this version of Session.
@Ryu945 Just wanted to confirm - you added
https://fdroid.getsession.org/fdroid/repo
as a repo to F-Droid and then installed Session (as opposed to installing the "unofficial" version)?An update has fixed this but the polling rate is incredibly low. I believe it is 1 hour. Can you change it to 30 seconds? Signal almost instantly sees a message in their version of slow mode. It has caused people to not want to use Session because it will be at least an hour before anyone sees it. You can't do real time communication with this.
Where are you seeing this long delay? On 1-1 messages / communities / groups? The polling rate is actually a few seconds (it differs for all three categories mentioned above), so there must be another issue at play.
I used the Fdroid repository to get this version of Session.
@Ryu945 Just wanted to confirm - you added
https://fdroid.getsession.org/fdroid/repo
as a repo to F-Droid and then installed Session (as opposed to installing the "unofficial" version)?An update has fixed this but the polling rate is incredibly low. I believe it is 1 hour. Can you change it to 30 seconds? Signal almost instantly sees a message in their version of slow mode. It has caused people to not want to use Session because it will be at least an hour before anyone sees it. You can't do real time communication with this.
Where are you seeing this long delay? On 1-1 messages / communities / groups? The polling rate is actually a few seconds (it differs for all three categories mentioned above), so there must be another issue at play.
Messages. This issue affects groups as well. I can't remember if I used groups back when it had the error of never updating or updating every hour. I wouldn't know if it affects communities.
edit: I did a new test. it took 10 minutes to receive the message in the first message and 15 minutes in the second message. According to https://github.com/oxen-io/session-android/issues/921 , slow mode is suppose to take 15 minutes to update messages. It seems the bug is fixed for regular DMs unless it has been changed since then. The problem is that 15 minutes is unacceptably slow. Signals version of slow mode works almost instantly. The poling rate needs to be dropped to 30s - 1 minute (I am leaning more toward the 30s). Otherwise, you cannot have a practical conversation with people. Signal talks about keeping a socket open.
Groups on the other hand presented a serious problem. They never updated. After waiting for over 16 hours, I opened the app to see what was going on. The message came in after I opened the app. As of right now, groups do not poll at all unless they have some ridiculously long poll time.