-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification only shown when app is opened #4615
Comments
See the manual |
Although we can probably remove this limitation without much work thanks to #4450 |
Ok yes this fixes the problem, it would be nice if it was possible without the widget. But in the meantime I just replaced the shortcut with the widget. |
@timrae How would you implement this? It seems like BootService already has some code for this, calling ReminderService every day. I guess the easiest solution would be a permanent background service, that checks the number of due cards every hour or so. All the existing services could be merged into this single service. |
@Nutomic |
|
I'm using KISS launcher, which doesn't allow to use widgets (to keep it simple). How long do you think it would take to implement this feature? Thanks a lot for this great app!! |
I would like to suggest not running a service permanently. Android offers something called an alarm. You can set an alarm when you first run the app that will be maintained by the system itself. When the alarm is up, it can call an intent to start the service, which should then check the cards due, notify if required an then set another alarm and shut itself down. You can also set the service to auto start on system boot, I believe, to accomplish this the first time after a boot. This approach gives you the same effect you want without leaving the application running constantly in the background as a service. It saves battery, cpu, and ram, and will keep the app from being killed by those ridiculous memory manager apps everyone's always downloading. Please tag me reply if you need any further info from me. |
Yeah @madhead already seems to have set that up...so can we get notified without the widget please? 😁 |
A pull request would be appreciated... Nobody is working on this AFAIK
On 12/08/2017 10:37, "damccull" <[email protected]> wrote:
Yeah @madhead <https://github.com/madhead> already seems to have set that
up...so can we get notified without the widget please? 😁
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4615 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACsA4lyQ89Dyf3uaki5luE9IkOHz9bgkks5sXQHDgaJpZM4MzTrs>
.
|
I remember that we pulled out the code for this feature out of master because of some non-reproducible bugs on some devices. |
I didn't pull it from master, just from the release version. The hope was
that someone would fix all the issues for v2.9 ;)
…On 12/08/2017 11:19, "madhead" ***@***.***> wrote:
I remember that we pulled out the code for this feature out of master
because of some non-reproducible bugs on some devices.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4615 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACsA4qtcjZRj9R-qHO6M1djYXrIcnYn5ks5sXQvEgaJpZM4MzTrs>
.
|
I will download the code and look at it. No promises. Which pr or branch?
|
Also do you know what bugs and devices? Is there an issue to reference?
|
Understood, but if I can find a way to fix that pr in the process of doing
this (assuming I can) i might as well. Thanks. No promises.
|
Thanks, I'm sure a lot of people would appreciate it if you do end up getting the time to do that! |
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
Reproduction Steps
Expected Result
A notification should be shown without opening the app.
Actual Result
I have to open the app, then a notification is shown. But this does not make sense as I can see the due cards in the allready opened app.
Debug info
AnkiDroid Version = 2.8.2
Android Version = 6.0.1
ACRA UUID = 78549792-7916-4041-a6b2-b58d85214139
The text was updated successfully, but these errors were encountered: