Required Permissions
1. AnkiDroid API Permission
The app needs theREAD_WRITE_PERMISSION to access AnkiDroid’s database and review cards.
Permission name: com.ichi2.anki.permission.READ_WRITE_DATABASE
What it allows:
- Reading deck information
- Querying scheduled cards
- Submitting card reviews
- Tracking study time
2. Notification Permission
The app needs thePOST_NOTIFICATIONS permission to display review notifications.
Permission name: android.permission.POST_NOTIFICATIONS
What it allows:
- Displaying persistent notifications with cards
- Showing completion notifications
- Updating notifications with new cards
How Permissions Are Requested
AnkiDroid API Permission
When you first launch AnkiDroid Companion, it checks if the API permission is granted:Permission Check Logic
Permission Request
Granting Permissions
First-Time Setup
- Launch AnkiDroid Companion for the first time
- System dialog appears asking for AnkiDroid API access
- Tap “Allow” to grant the permission
- Select a deck and tap “Refresh” to start
On Android 13+, you may see two permission dialogs: one for AnkiDroid API access and one for notifications.
Manual Permission Grant
If you previously denied permissions, you can grant them manually: Android Settings Path:- Open Settings → Apps
- Find AnkiDroid Companion
- Tap Permissions
- Enable required permissions
- Open Settings → Apps
- Find AnkiDroid Companion
- Tap Notifications
- Enable All AnkiDroid Companion notifications
What Happens When Permissions Are Denied
AnkiDroid API Permission Denied
If you deny the API permission, the app displays an error:- Error message on the main screen
- No deck selection available
- “Refresh” button is hidden
- Restart the app and grant permission when prompted
- Or grant manually through Android Settings
Notification Permission Denied
If notification permission is denied:- Cards will still be reviewed in AnkiDroid’s database
- But no notifications will appear
- You won’t see cards without opening the app
Permission Check During Card Queries
Before querying cards, the app verifies permissions are still granted:Permission Verification Method
Best Practices
Always keep permissions granted for AnkiDroid Companion to function properly. The app cannot access your cards or display notifications without these permissions.
If Permissions Stop Working
- Check Android Settings - Verify both permissions are enabled
- Restart the app - Close completely and reopen
- Reinstall if needed - Uninstall and reinstall from the releases page
- Check AnkiDroid - Ensure AnkiDroid itself is installed and working
Security & Privacy
The app only requests permissions necessary for its core functionality:- AnkiDroid API: Read/write access to AnkiDroid’s flashcard database
- Notifications: Display cards in notification shade
AnkiDroid Companion does not store any card data, deck information, or review history. All data remains in AnkiDroid’s database. The companion app only acts as an interface to display and interact with your existing AnkiDroid data.