Closed talenelat-elin closed 3 years ago
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
It's possibly due to Android version differences, I'll update here as soon as I get the information of these devices.
Does it work (without the addon) on the latest version of Anki Desktop?
Does it work (without the addon) on the latest version of Anki Desktop?
@david-allison-1, Yes. Just tested in Anki Windows 2.1.44 (64bit) and all cards work.
I'm not sure if you're familiar with closet, but the cards once made should function in all anki versions beyond 2.1.41, without requiring any addons, because the reviewer side of closet works via a javascript file that is included inside the template. (__closet-0.5.3.js
)
The actual addon helps in creation of the closet cards.
I think it is related to Android versions.
Evidence:
Phone | status | Android Version |
---|---|---|
Xiaomi Redmi Note 5 Pro | broken | 9 PKQ1.180904.001 |
Xiaomi Redmi Y2 | broken | 9 PKQ1.181203.001 |
Lenovo K9 | broken | 8.1.0 |
Xiaomi Poco M2 | working | 10 QP1A.190711.020 |
OnePlus 6 | working | 10 (OxygenOS v10.3.11) |
Realme 2 Pro | working | 10 (Realme UI V1.0) |
Closet relies on dynamic imports, which was added in https://github.com/ankidroid/Anki-Android/pull/7764. It seems like this only works on Android 10+, so there's really nothing we can do.
Preface: I'm unsure of the complete extent or cause of the problem
This concerns the the addon Closet. Cards created using it are supposed to work in AnkiDroid from version 2.15 too, but I'm seeing that it doesn't work in certain devices.
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: 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:
So far, I've tested 6 devices:
I'd appreciate it if people could import the deck and check out the cards on their devices and add to the data.
I've posted an issue in Closet's github too
Tested in: AnkiDroid 2.15.6