Notable now keeps its database in /Documents/notabledb. I want to keep it there because it is easy to find and back up. Currently, I am requesting permission to manage all storage, as it was the easier solution. However, this does not work on Android 10 and is an excessive approach. We do not need permission for other folders, except perhaps for /Documents/Notable. If someone knows how to do it correctly I would appreciate your help.
#24
Asking for permission is handled in:
https://github.com/Ethran/notable/blob/dev/app/src/main/java/com/olup/notable/MainActivity.kt
Notable now keeps its database in
/Documents/notabledb. I want to keep it there because it is easy to find and back up. Currently, I am requesting permission to manage all storage, as it was the easier solution. However, this does not work on Android 10 and is an excessive approach. We do not need permission for other folders, except perhaps for/Documents/Notable. If someone knows how to do it correctly I would appreciate your help.#24
Asking for permission is handled in:
https://github.com/Ethran/notable/blob/dev/app/src/main/java/com/olup/notable/MainActivity.kt