Skip to content

[Feature Request] Add per-app priority option for installed apps, so you can control if certain apps should update after others when using "Update all" button #1321

@xcpn

Description

@xcpn

Before you submit

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I'm not requesting app support for a specific repo — that's up to repo maintainers
  • I understand this might not get built (Droid-ify is maintained by a single person)

What's the problem?

As of right now, if you have multiple apps ready for update in the "Updates" tab and you tap on the "Update all" button, all apps start downloading the updates and then install them at the same time. I think download and install is happening synchronously for faster results instead of waiting one by one since it looks like it and I don't see any related setting. And this is great.

The issue is that if there are apps installing like a VPN (that also has enabled Always-On & Block connections without VPN), and that app installs second for example, there is a high possibility of the next updates failing because the VPN is not ready yet. This is my case when I start updating all apps and my VPN is in the list. Droid-ify will download the updates all at the same time and then start installing them. If Droid-ify starts installing the update for my VPN while the are more apps still downloading updates, they'll start failing since there may not be internet connection for a couple seconds.

What would help?

I think the best way to resolve this is optional setting to adjust the download & update priority per app.

To understand better you can check how the Tasker app uses Profile priorities (Launched Task Priority). All Profiles have a default priority of '5' and if a Profile is adjusted to have a higher number of priority, lets say '7' (the higher number the higher priority), that profile's task will launch before others, assuming there are multiple Profiles set to trigger at the same time.

Here is an example from my case were some updates failed.

Image

The update for ProtonVPN downloaded faster than some of the other ones, and when the update started installing the internet cut off and the other updates failed to download. Currently to prevent this I need tap on "Update all" and then tap on ProtonVPN to open its page and cancel the update until the others finish.

Assuming each installed app gets a default priority of '1' and then can be adjusted if desired, the user could set their VPN app priority to '2' so other apps can fully update first before Droid-ify starts downloading the update for the app or before installs it. Setting priority '3' to some other app that may be in the list then would mean that apps with priority '1' install first, then apps with priority '2' if present in the list, and then apps with priority '3', etc.

I have no statistics to support my claim, but I'd assume there are a lot of privacy minded users that use Droid-ify and have settings like Always-On & Block connections without VPN enabled, possibly resulting to very similar experience.

Alternatives?

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions