streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
9.69k stars 596 forks source link

[Android] Persistent notification ("Notes in notifications") doesn't survive a reboot #2139

Open xfzv opened 1 year ago

xfzv commented 1 year ago

What happened?

"Notes in notifications" doesn't survive a reboot. After rebooting my device, there's no persistent Notesnook notification in the notifications panel anymore. I have to open the app, go to the settings and toggle "Notes in notifications" off and on again so that the notifications reappears.

Steps to reproduce the problem

  1. Open Notesnook
  2. Go to Settings
  3. Enable Productivity > Notes in notifications
  4. The persistent notification appears in Android notification panel :heavy_check_mark:
  5. Reboot the device
  6. After rebooting, there's no Notesnook notification in Android notification panel :x:
  7. Go back to Productivity > Notes in notifications
  8. Disable and enable Notes in notifications again
  9. The persistent notification is back

Expected behavior: the persistent notification is still there after rebooting the device.

Version

2.4.6 (notesnook-arm64-v8a.apk)

Platform/OS

Android

Relevant log output

No response

xfzv commented 1 year ago

The same issue occurs if pinning some notifications and rebooting the phone.

I guess the app doesn't have a background service that can launch at Android startup or something.