kiwix-android
kiwix-android copied to clipboard
Assess SimpleStorage
Assess if we would benefit of using https://github.com/anggrayudi/SimpleStorage
Following #3265
This would benefit us as it provides the many methods that ease accessing files(DocumentFile) on different API levels, and handle code for different API levels. but as for now, we know that we can not open the ZIM file via inputStream/[DocumentFile]/fileDescriptor
provided by this library. Libkiwix needs the filePath(with proper read access)
to work properly with Xapian. And android restricts the direct read access to filePath
. We already have this type of ticket for https://github.com/kiwix/kiwix-android/issues/3628 that is blocked due to the https://github.com/openzim/libzim/issues/852. So we can consider this after #3628 has been fixed.