Neo-Store icon indicating copy to clipboard operation
Neo-Store copied to clipboard

App sometimes gets installed without install prompt

Open opusforlife2 opened this issue 1 year ago • 3 comments

This has happened enough times for me to notice, but it's rare enough that I can't reproduce it. For a non-rooted Android 12 phone, Neo Store normally prompts to install the app after the APK is downloaded.

But sometimes, the install prompt is never shown, yet the app is updated and the Launch button is shown. I can open the updated app and verify that it is on the new version.


Bonus: once, an app was installed in the background while the install prompt was being shown, and before I could have tapped either of the buttons. I don't remember if I tried to test it by tapping Cancel and then checking the app version, though. I should have done that and documented the results.

opusforlife2 avatar Sep 05 '22 17:09 opusforlife2

A12 supports automatic updates. Which means that Neo Store can silently update apps that it installed or updated as last, this have some other requirements: https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams#setRequireUserAction(int)

machiav3lli avatar Sep 05 '22 18:09 machiav3lli

I see.

The requirement flowchart is a little complicated. How exactly does Neo Store use this function? Would it be accurate to say "Apps that were previously installed or updated using Neo Store are silently updated"? Or is there more to it?

Moreover, could this be documented in the app somewhere? It's confusing for the end user to see different behaviour occurring when tapping the Install/Update button, not knowing the conditions beforehand.

opusforlife2 avatar Sep 07 '22 20:09 opusforlife2