Skip to content

android: Log resolved installer package at app update check start#210

Merged
sjp4 merged 1 commit into
coredevices:masterfrom
aveao:play-update-check-prep
May 22, 2026
Merged

android: Log resolved installer package at app update check start#210
sjp4 merged 1 commit into
coredevices:masterfrom
aveao:play-update-check-prep

Conversation

@aveao

@aveao aveao commented May 22, 2026

Copy link
Copy Markdown
Contributor

Splitting from #206, see description and discussion there.

Idea is to eventually block update checks if not installed through gplay, this is the preparation for it to safely confirm that we're resolving correctly.

2026-05-22T18:10:21.756195Z [D] AndroidAppUpdate: Checking for app update - installed via dev.imranr.obtainium.fdroid

Resolve the installer package (getInstallSourceInfo on API 30+, the
deprecated getInstallerPackageName below it; null on failure) and log it
as debug at the start of the update check flow, instead of blocking the
Play update check for non-Play installs.

Adds the PLAY_STORE_PACKAGE constant in prep for gating the Play flow on
it later, and uses it in getPlayStoreMarketIntent in place of the
hardcoded string.
@aveao aveao marked this pull request as ready for review May 22, 2026 18:07
@sjp4 sjp4 merged commit 25a6e66 into coredevices:master May 22, 2026
3 checks passed
@aveao aveao deleted the play-update-check-prep branch June 8, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants