Anki-Android
Anki-Android copied to clipboard
"Notify when" notifications don't trigger
Reproduction Steps
- Activate a Notify when X cards are due setting
- Assume X cards are due
- Notification does not show unless I manually start the app.
Expected Result
Notification to appear automatically, regardless of app state.
Actual Result
Notification only appears when app is started manually.
Debug info
Refer to the support page if you are unsure where to get the "debug info".
Research
Enter an [x] character to confirm the points below:
- [x] I have read the support page and am reporting a bug or enhancement request specific to AnkiDroid
- [x] I have checked the manual and the FAQ and could not find a solution to my issue
- [x] I have searched for similar existing issues here and on the user forum
- [ ] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing
Thanks for logging this @tilusnet - there are a few notifications issues right now, and that area of the code hasn't received attention in a while. We'll do a scan through there soon but unless someone else volunteers, "soon" might be a few months
Thanks for the update @mikehardy. For the time being I have a hint ─ not sure if it helps narrowing down problems: since I added Anki widgets to my home screen, the notifications started happening!
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
@tilusnet are there any plans to work on this soon? This is the single biggest issue preventing me from using anki
@tilusnet are there any plans to work on this soon? This is the single biggest issue preventing me from using anki
@flexagoon I'm not a coder.
@mikehardy is this planned in the foreseeable future?
We'd like to get it working, but it's on the backlog currently
Can someone please fix this issue? There literally is close to no point in using a spaced repetition learning app if I can't learn the cards in the required intervals, because I forget to check daily.
There can simply not be any issue more important than this.
My workaround: I use homeassistant, so I set up an automation:
alias: Reminder to open Anki
description: >-
Notifications are known to be broken:
https://www.reddit.com/r/Anki/comments/13001vk/comment/jhucbgr/
triggers:
- trigger: time
at: "07:53:00"
conditions: []
actions:
- action: notify.ohad_mobile
data:
message: >-
Open Anki so it shows the notification about how many remaining cards
you need.
title: Open Anki
data:
clickAction: app://com.ichi2.anki
icon_url: >-
https://raw.githubusercontent.com/ankidroid/Anki-Android/main/docs/graphics/logos/ankidroid_logo.png
channel: Anki
importance: low
mode: single
It's a shame people have to resort to workarounds like that to get such a basic feature to work. It's no option for me to install another app (like home assistant) for any kind of workaround. For now I created a widget, which seems to trigger the notifications at least sometimes (time will tell). But still, this issue is important and needs to be fixed ASAP. I wish I could code and fix this myself...
It has been my experience that the widget doesn't help, which is why I created the workaround.
I see. Thanks for the information.
Update: For me it seems to work perfectly now that I have a widget on my home screen. And oddly enough it even triggers the notification when my device is not even being used. Ever since I created the widget, the notification has been there every morning, even before I used my phone the first time for that day.
I am using a Google Pixel 8a with the minimalist launcher "Pro Launcher".
FYI we will have someone working on the notifications system this summer for Google Summer of Code. Hopefully that work will improve the notifications system which is currently lacking.
Hello, given it's just about the end of summer, are there any updates? I ask because this is a very important bug, and its status will determine whether a large chunk of the userbase will continue to use this app or not.
https://github.com/ericli3690/gsoc-ankidroid-report/blob/main/README.md#project-results-
and its status will determine whether a large chunk of the userbase will continue to use this app or not.
- We're doing this in our free time, pressuring people isn't cool.
- No it won't.
- Pitch in and help if you want to see it move faster.
Hi, I'm sorry I conveyed a sense of pressure. That wasn't my intent. But as others have stated, this bug defeats the purpose of the app for many people. And a statement was made that the issue would be tackled in the summer. Making false promises isn't cool.
I'm not a developer. I'm just a user asking a question. If the answer is in the negative, fine. But there's no need to attack my character while you're at it.