Skip to content

fix: Detect downloaded APKs when patches support any version#2967

Open
Aunali321 wants to merge 2 commits intoReVanced:devfrom
Aunali321:fix/any-version-apk-detection
Open

fix: Detect downloaded APKs when patches support any version#2967
Aunali321 wants to merge 2 commits intoReVanced:devfrom
Aunali321:fix/any-version-apk-detection

Conversation

@Aunali321
Copy link
Contributor

What it does: Fixes detection of previously downloaded APKs when patches support "any version." Closes #2620

Test steps:

  1. Install the APK
  2. You need an app whose patches support any version (no suggested version). Check if any patched app has no version requirement
  3. Download an APK for that app via the downloader, patch and install it
  4. Close the manager completely (kill from recents)
  5. Reopen. on the dashboard, the patched app card should show the app correctly (not fail to find it)
  6. The key test: previously, if suggestedVersion was null, the manager wouldn't find the downloaded APK at startup. Now it falls back to the most recently used download
Screenshot_20260227_065512_ReVanced Manager (Debug)

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.

1 participant