TwidereProject / Twidere-Android

http://twidere.com
2.76k stars 378 forks source link

[Bug] Not receiving notifications #1436

Open YX42 opened 3 years ago

YX42 commented 3 years ago

Bug Report

Environment

Network type:

Twidere X 1.2.0 Twidere 4.1.8

Android 10

Bug Info

No tweet notifications at all. I love Twidere but without notifications it's basically useless for me. Had the same issue months ago when I first tried Twidere but then I moved on. Now I came back and the issue still persists. A few people on Reddit seem to have the same issue. Other notifications work fine on my device. Moreover when I first logged in on Twidere, I received multiple notifications about mentions from the past. No tweet notifications though.

Steps to reproduce

New tweet, all notification settings activated

Actual Behavior

No notification

Expected behavior

Notification

wafles38 commented 3 years ago

For me this is fixed when I disable battery optimization for this app. I suggest the app prompts the user to disable battery optimization when they first open this app.

My info: android 11, Samsung, Twidere 4.1.8, wifi

Sadly, the only other thing that can be done is implementing a permanent notification (which consumes more battery than simply turning off battery optimization, so bad idea?). This is a limitation from Android devices, it's more likely to happen with Samsung and probably other manufacturers. This is a common issue on many android apps.

Try this guide if you don't know how to disable battery optimization https://driversnote.helpscoutdocs.com/article/137-android-battery-saving-settings