nproth / pin

A minimalistic note-taking app for android utilizing your phone's notification area.
GNU General Public License v3.0
116 stars 7 forks source link

notifications disappear #17

Open islam2hamy opened 4 years ago

islam2hamy commented 4 years ago

the notifications disappear after 30 min. or less of lock screen , and i should open the app to make the old notifications appear again .

os : miui 10.3

nproth commented 4 years ago

This might happen because MIUI tries to save battery and stops apps running in background. Disabling battery optimizations for p!n in your device settings could solve this issue. More information for your system and an useful resource on this topic I have found here.

Although, notifications should not be affected by this. Please let me no if disabling battery optimizations for p!n resolved this issue. If not, does this only happen on the lock screen? And does the time at which the notifications disappear depend on the snooze time set via the left button in the apps user interface?

islam2hamy commented 4 years ago

i already have tried that before , and also after your comment . but it does not resolve this issue.

does this only happen on the lock screen? no.

snooze time set via the left button in the apps user interface = 12 h

p.s : my android user interface language is Arabic .

nproth commented 4 years ago

I managed to reproduce the bug only once (with language set to Arabic) and couldn't find out what caused it yet. I will try to find the cause and resolve this bug in a future update.

inducer commented 4 years ago

I have that happen, too (on LineageOS 16, corresponding to AOSP Pie/9), with German localization.

islam2hamy commented 4 years ago

i have found the solution , just lock the app from tasks , while you are writing pin.