Tiefkuehlpizze / oandbackupx

backup manager for android
GNU Affero General Public License v3.0
5 stars 0 forks source link

Recreate IntroActivity #5

Closed Tiefkuehlpizze closed 4 years ago

Tiefkuehlpizze commented 4 years ago

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.

  1. :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
  2. :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.
  3. :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: )
  4. :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.
  5. :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.
Tiefkuehlpizze commented 4 years ago

Perfectly implemented and already released in the base repository. :heart: