czlucius/code-scanner

Write shared QR images into cache instead of storage

czlucius opened this issue · 0 comments

QR photos are persisted to user storage when sharing. This uses storage, and is not ideal on devices with low storage.
Screenshot_20211205-165227_Files.jpg

Fix: write to cache dir instead of files directory, this will use user storage.
(.ui.CreateFragment)

Currently, the images are stored in
(Internal Storage)/Android/data/com.czlucius.scan/Pictures. You may clear this directory if you wish. (On Android 11+, only the native Storage Access Framework can access it)