-
-
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
[BUG]: anki droid freezing when syncing when notifications permission missing #17493
Comments
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 |
Hi there - sorry about that, if this were me it would give me a bit of anxiety - as sync is how I back things up in case my phone dies or is lost for whatever reason. First things first, do you have any another method of backing up your collection? If not you should seriously think of doing a full collection export and saving it somewhere as a critical data protection item - before doing anything else. That done, can you see what the sync settings look like, to make sure they are in good shape?
Hopefully something in there does the trick. |
Thank you so much for taking the time to respond!
Enabling Notifications did the trick.
Thanks again.
Big relief.
…On Mon, 25 Nov 2024 at 14:37, Mike Hardy ***@***.***> wrote:
Hi there - sorry about that, if this were me it would give me a bit of
anxiety - as sync is how I back things up in case my phone dies or is lost
for whatever reason.
First things first, do you have any another method of backing up your
collection? If not you should seriously think of doing a full collection
export and saving it somewhere as a critical data protection item - before
doing anything else.
That done, can you see what the sync settings look like, to make sure they
are in good shape?
- make sure, in system settings, that AnkiDroid notifications are
enabled - we use a persistent foreground notification to display sync status
- make sure you can log in to ankiweb directly using a regular web
browser to https://ankiweb.net
- try to sync, does it work now?
- in AnkiDroid settings -> sync:
- select the AnkiWeb email address and "Log out" in the following
screen then hit back so you are on sync settings again
- select AnkiWeb account and try to log in again
- try to sync, did it work?
- in the Custom Sync Server settings enable "sync url" and type in
something like http://example.com, but then disable it
- try to sync again, did it work?
Hopefully something in there does the trick.
—
Reply to this email directly, view it on GitHub
<#17493 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNGGXDGC3KX3BZU3TXYKZCL2CJ5OPAVCNFSM6AAAAABSMUKQQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJWGUYDENRZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's great to hear that worked for you! For us that's a problem though. I've altered the title of this issue slightly and we'll need to investigate and fix it here. If notification permission for the app is removed we should handle that correctly with some user messaging and sending the user to settings to fix it, vs hanging of course. Cheers |
@mikehardy could this be the ANR you mentioned? |
Perhaps yes, the thought occurred to me but without logcat hard to say. Certainly an easy thing to tackle and it will likely affect it positively |
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
Hi.
I haven't been able to sync my anki droid in a long time now. As soon as I try, the app freezes and does nothing. I close it and reopen to keep using it.
Thanks
Expected behaviour
Just sync as normal
Debug info
(Optional) Anything else you want to share?
No response
Research
The text was updated successfully, but these errors were encountered: