I'm just noting this down, because it's a mess. Just to create it as official issue later.
Asking for permissions with 3 or more ways to exit. I'm trying to add the necessary query for the backup directory if it's not set (or accessible). It's spaghetti.
It would be nice, if we could have a nice and friendly setup guide. The app launches, it checks what is missing and adds setup pages to the user's todo list.
:closed_lock_with_key: Check for root; if not available, no further checks are done. Instead an error page is shown, leaving the user no other option as to exit the app
:open_file_folder: Check if backup directory is defined and exists; if not: Show a page that explains what is expected from the user with a button that opens the file browser intent.
:unlock: Check for usage stat permissions; if not allowed: Show a page that explains why the user has to enable it and how (it's not as easy as with the battery optimization :confused: )
:battery: Optional: Check for battery optimization; if not set: Show a page that explains why the user should enable this. Add two buttons; first is to start the intent to enable it, and second one is to skip this setting. Store a flag, that the user skipped this option so the question is not asked again.
:key: Optional: Check if encryption is enabled; if not: Show a page that explains why the user should set a password. Add two buttons; first is to start the intent to enable it, and second one is to skip this setting. Store a flag, that the user skipped this option so the question is not asked again.
I'm just noting this down, because it's a mess. Just to create it as official issue later.
Asking for permissions with 3 or more ways to exit. I'm trying to add the necessary query for the backup directory if it's not set (or accessible). It's spaghetti.
It would be nice, if we could have a nice and friendly setup guide. The app launches, it checks what is missing and adds setup pages to the user's todo list.