Morphe Download Helper 2.1.2
Hotfix follow-up for #41: check APKMirror WebView builds before downloading.
Changed
- APKMirror WebView pages are now checked for their selected build number
before the download button is pressed. - The build is compared with Morphe's requested
VERSION_CODES. If it does not
match, the helper rejects that source without transferring the APK and
continues with the remaining sources. - If the page does not expose a reliable build number, the helper falls back to
the previous download-then-validate behaviour.
Verification
- Reproduced the Instagram
454.0.0.54.77APKMirror page with a deliberately
wrong expected build:- Log:
APKMirror page is build 386014775, expected [999999999] - No 156 MB APKMirror download occurred.
- The helper moved on to the remaining sources immediately.
- Log:
- 32/32 emulator instrumentation tests pass.
Known limitations
- This pre-download check covers APKMirror WebView pages. Other sources still
validate the APK after downloading when their metadata does not expose the
build number beforehand. - No physical-device testing was possible; all checks were on the emulator.
Universal debug-signed APK for arm64-v8a, armeabi-v7a, x86, and x86_64.
SHA-256: a2c5971baf22d79edfa0808351a16b3c666f7ff06eeb778010db549b92b81ded