Skip to content

Regression: localStorage lost persistence between 2.18.0 and 2.20.1 #18319

@silidev

Description

@silidev

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

  • save something to the localStorage
  • leave the deck,
  • enter a deck
  • try to retrieve the value

Expected behaviour

The value should stay retrievable from the localstorage.

Debug info

AnkiDroid Version = 2.20.1 (e32a82c33646807ea19623c9c88be38965bc07e6)

Backend Version = 0.1.48-anki24.11 (24.11 c47638ca36f99dd4f3b81ae82d964aec66e392e0)

Android Version = 14 (SDK 34)

ProductFlavor = play

Manufacturer = samsung

Model = SM-S926B

Hardware = s5e9945

Webview User Agent = Mozilla/5.0 (Linux; Android 14; SM-S926B Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/136.0.7103.60 Mobile Safari/537.36

ACRA UUID = e48147db-e59c-4853-929c-905d382dd7e3

FSRS = 1.4.3 (Enabled: true)

Crash Reports Enabled = true

(Optional) Anything else you want to share?

In 2.18.0 the value is persisted, but not anymore in 2.20.1.
This bug is also present in 2.21alpha14 Apr 2, 2025 (anki 25.02/038d85b1).

#15911 is about localstorage failure in 2.17.5.

Research

  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions) This bug is also present in 2.21alpha14 Apr 2, 2025 (anki 25.02/038d85b1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions