Skip to content
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

Closet is not working in AnkiDroid on certain devices. #73

Closed
talenelat-elin opened this issue Jul 23, 2021 · 3 comments
Closed

Closet is not working in AnkiDroid on certain devices. #73

talenelat-elin opened this issue Jul 23, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@talenelat-elin
Copy link

Preface: I'm unsure of the complete extent or cause of the problem

The problem: The clozes and occlusions are not rendered at all, instead the contents of the fields are shown, including the closet notation, like so:
image
In a functioning card, the contents of the double square brackets should have been replaced by [...] in the front of the card.

How I test it:

  1. Delete all the ankidroid files present from previous installs, if any.
  2. Fresh install of ankidroid from the play store
  3. Import an apkg file of closet cards that I've created (that definitely work on Anki Windows)- LINK
  4. Check the cards

So far, I've tested 6 devices:

  1. Xiaomi Redmi Note 5 Pro - broken
  2. Xiaomi Redmi Note 9 Pro - broken
  3. Xiaomi Redmi Note 7 Pro - broken
  4. Lenovo K9 - Broken
  5. OnePlus 6 - Works
  6. RealMe 2 - Works

I'd appreciate it if people could import the deck and check out the cards on their devices and add to the data.

Cards made in:
Anki Windows (x64) 2.1.41
Closet 0.5.3
Tested in:
AnkiDroid 2.15.6

@hgiesel
Copy link
Owner

hgiesel commented Jul 24, 2021

Thanks for the report.

Please check the Android versions of those individual devices. The support for loading ES modules (which is what Closet needs) was only added with 2.15.

@talenelat-elin
Copy link
Author

Thanks for the report.

Please check the Android versions of those individual devices. The support for loading ES modules (which is what Closet needs) was only added with 2.15.

@hgiesel It seems that it's not working in Android versions 9 and below.

Phonestatus
Android Version
Xiaomi Redmi Note 5 Probroken
9 PKQ1.180904.001
Xiaomi Redmi Y2broken9 PKQ1.181203.001
Lenovo K9broken8.1.0
Xiaomi Poco M2
working10 QP1A.190711.020
OnePlus 6working10 (OxygenOS v10.3.11)
Realme 2 Proworking
10 (Realme UI V1.0)

@hgiesel
Copy link
Owner

hgiesel commented Jul 24, 2021

@talenelat-elin Thanks a lot for the research! However that also means that it's not actionable for me. It seems like Closet relies on functionality that was introduced with Android 10. However I'll pin the issue for others to see.

@hgiesel hgiesel closed this as completed Jul 24, 2021
@hgiesel hgiesel pinned this issue Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants