Current Limitations
AnkiDroid Companion is designed to be a lightweight, minimalistic extension for AnkiDroid. While it provides convenient notification-based card practice, there are some current limitations to be aware of:Minimalistic Card Support
AnkiDroid Companion strips HTML tags from card content to display them as plain text in notifications. While basic HTML is converted to text (seeNotifications.kt:28-40), complex scenarios involving advanced formatting, images, or media are not supported.
Technical Details:
- Card questions and answers are processed using
Html.fromHtml()to strip HTML tags - Only the resulting plain text is displayed in notifications
- Notification views have limited space and formatting capabilities
No Card Skipping
There is currently no way to skip a card if you want to come back to it later.
Fixed 8-Hour Study Interval
After completing a deck, the app waits exactly 8 hours before checking for new cards to study.
- Deck completion triggers a periodic worker (see
PeriodicWorker.kt:13-54) - The worker checks every 8 hours for new scheduled cards
- If new cards are found, a notification is automatically displayed
Embedded Strings
The app contains numerous embedded strings directly in the code rather than in Android’sstrings.xml resource file. This makes localization and text maintenance more difficult.
Examples from the code:
"Congrats! You've finished the deck!"(Notifications.kt:64)"New notifications will arrive when it's time to study!"(Notifications.kt:69)"Anki • $deckName"(Notifications.kt:43)
Planned Improvements
The following improvements are being considered for future releases:- Customizable Study Intervals - Allow users to configure how long to wait before checking for new cards
- Card Skip Functionality - Add a “Skip” button to postpone cards
- Better HTML Support - Improved rendering of formatted cards in notifications
- String Resources - Move all hardcoded strings to proper Android resource files
- Widgets - Add home screen and lock screen widgets for even quicker access