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

Cards being generated but not displayed in anki droid #13

Open
Sigfr1ed opened this issue Aug 7, 2023 · 1 comment
Open

Cards being generated but not displayed in anki droid #13

Sigfr1ed opened this issue Aug 7, 2023 · 1 comment

Comments

@Sigfr1ed
Copy link

Sigfr1ed commented Aug 7, 2023

Hi,

I have installed anki image occlusion per the instructions but the only thing I get is a weird screen - https://drive.google.com/file/d/19aWbuDxBkog5wgjXUECtOCvSEF6E_kmh/view?usp=drive_link

I double checked that all the permissions were granted but its not working. Could you please help me find out why this is not working?

@Sigfr1ed Sigfr1ed changed the title Cards being generated by not displayed in anki droid Cards being generated but not displayed in anki droid Aug 7, 2023
@krmanik
Copy link
Owner

krmanik commented Aug 7, 2023

Write access to all internal storage directories⁠ except /Android/data/, /sdcard/Android, and most subdirectories of /sdcard/Android. This write access includes direct file path access.
https://developer.android.com/training/data-storage/manage-all-files

Due to scope storage the directory is not accessible to other apps. AnkiDroid now stores the collection.media file in Android/data/com.ichi2.anki/files/AnkiDroid/collection.media, so it is difficult to implement fix for this (also out of time to maintain this project).
Also, the image occlusion feature will be available in next version of AnkiDroid. For now, view solution in this issues #12.

In summary you have to copy images with file name start with cordova-* from AnkiDroid/collection.media to Android/data/com.ichi2.anki/files/AnkiDroid/collection.media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants