Repository navigation
"Update this app" prompt. When exactly does it appear? #3493
|
When I opened Obtainium, a prompt appeared which said "update this app", looking similar to the install prompt when installing a new app. I confirmed this, and the app was updated. Can someone please tell me, when exactly this prompt appears? I have never seen this prompt before although I have updated apps from inside Obtainium before. Is this expexted behaviour? |
Replies: 2 comments 7 replies
|
Edit: in this case the cause turned out to be something else. Two installs of the same update started within a second of each other, and Android only allows one silent update per app every 30 seconds, so the second one showed the prompt. Details in the replies below. That's Android's own installer confirmation, not something new in Obtainium. Obtainium only skips it when it can do a silent update, and with the stock installer that needs all of these (see
When one of those checks fails, you get the prompt. The most common reason is the target SDK one: an app that hasn't bumped |
|
The prompt came from two installs of the same update starting about 0.6s apart. Obtainium's background task was already installing Immich 3.3.6 silently when the app was opened and a second install was started from the UI (the update button, swiping the row, Update on the app page, or updating selected apps). Both installs asked Android to update silently, but Android allows only one silent update of the same app by the same installer every 30 seconds ( If you get the prompt without a second install in your logs, the usual cause is that the app doesn't qualify for a silent update. The requirements are in |
Edit: in this case the cause turned out to be something else. Two installs of the same update started within a second of each other, and Android only allows one silent update per app every 30 seconds, so the second one showed the prompt. Details in the replies below.
That's Android's own installer confirmation, not something new in Obtainium. Obtainium only skips it when it can do a silent update, and with the stock installer that needs all of these (see
canInstallSilently()inlib/installers/stock_installer.dart):