ankidroid / ankidroid/Anki-Android

Sync notification can get stuck

Abierto
#19,830 9 comentarios 0 reacciones 0 asignados Ver en GitHub
2.22 Needs Triage Priority-High
Lenguaje dominante
Kotlin
Estrellas
11.8k
Forks
2.9k
Merge medio
2 d 3 h
PR fusionados (30 d)
171

Descripción

### Checked for duplicates?

- [x] This issue is not a duplicate

### Does it also happen in the desktop version?

- [x] This bug does not occur in the latest version of Anki Desktop

### What are the steps to reproduce this bug?

I don't know. It just randomly happened. The notification was stuck for 10 days, then I removed the permission from AnkiDroid (and re-added it) and that made it go away.

![Image](https://github.com/user-attachments/assets/5cbd8b8a-866f-41bd-8e12-3a50072b06c7)

Synching or pressing the "CANCEL" button did nothing. There was nothing wrong with my internet connection at the time, there was even a copy of this notification that showed up when I synched (and went away).

### Expected behaviour

The notification should disappear after the sync is done, or the "CANCEL" button is pressed.

### Debug info

```text
AnkiDroid Version = 2.22.3 (4f2ec681da36b8307a865f05192498b8425adf0f)
Backend Version = 0.1.60-anki25.07.5 (25.07.5 7172b2d26684c7ef9d10e249bd43dc5bf73ae00c)
Android Version = 13 (SDK 33)
ProductFlavor = play
Device Info = Xiaomi | POCO | mondrian | mondrian_global | 23013PC75G | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; 23013PC75G Build/TKQ1.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.171 Mobile Safari/537.36
ACRA UUID = 3792582f-98ac-430e-ae42-4ace0156bf29
FSRS = 4.1.1 (Enabled: true)
Crash Reports Enabled = true
```

### (Optional) Anything else you want to share?

Sorry for being late. Life got in the way.

### Research

- [x] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.