Notify user about downloaded but not installed apps
In 0.103, the Updates tab has been much improved. It now:
- Shows progress of currently downloading items.
- Show the list of apps with updates available.
- Shows apps which updates have been downloaded but not yet installed (and prompts the user to install them).
This last step is one of the best features (given the manual intervention required for most F-Droid users after downloading). However, it only works correctly for a subset of all app downloads and in certain situations.
One of the main problems is in the following (not uncommon) scenario:
- User initiates an install for a new app.
- This begins a download from the server.
- Upon completion, it correctly displays it in the "Updates" tab with:
- A badge on top of the "Updates" tab alerting the user that manual action is required.
- An inline "Install" button once they navigate to the "Updates" tab.
- The user then closes F-Droid before completing the install
- Upon opening F-Droid again, there is no indication that an app has been downloading awaiting install.
Expected behaviour
F-Droid should be able to scan the cached apks which have been downloaded. If it finds an app which is downloaded, but not yet installed, then it should notify the user as if the app had just been downloaded.