Fix root install support, UI/backend improvements, XAPK handling, and…#650
Open
jaidenteli800-lab wants to merge 3 commits into
Open
Fix root install support, UI/backend improvements, XAPK handling, and…#650jaidenteli800-lab wants to merge 3 commits into
jaidenteli800-lab wants to merge 3 commits into
Conversation
… direct download links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces multiple improvements across APKUpdater, focusing on installation reliability, UI/UX stability, backend repository handling, and improved support for different APK distribution formats including XAPK and direct download links.
The goal of these changes is to improve overall app stability, enhance compatibility with different app sources, and make installation flows more reliable across a wider range of Android devices and scenarios.
✨ Changes Included
🔧 Root Installation Improvements
Improved logic for root-based installation handling
Enhanced stability of root install flow in edge cases
Better fallback behavior when root installation is unavailable or partially supported
Adjusted internal install pipeline to reduce failures during privileged installs
Note: Root install functionality could not be fully tested on a rooted device. Code has been reviewed and structured to be compatible with expected root flows.
📦 XAPK / Split APK Support Improvements
⚠️ Testing Notes
Improved handling of XAPK-style packages and multi-APK bundles
Better parsing and preparation of split APK installations
Enhanced compatibility when apps are distributed as multiple APK components
🌐 Direct Download Link Handling
Improved support for direct APK download URLs in repository responses
Better detection and processing of non-standard download sources
Increased reliability when handling links that bypass traditional store APIs
🧠 Backend / Repository Improvements
Refactored and improved logic across multiple repositories:
APKPure repository
Aptoide repository
Play Store repository handling
Search and Updates repositories
Improved consistency in data transformation layer
Reduced edge-case crashes caused by malformed or incomplete responses
🎨 UI / UX Stability Improvements
Improved state handling across multiple UI screens:
Apps screen
Updates screen
Search screen
Settings screen
Fixed minor inconsistencies in UI state updates
Improved responsiveness in list rendering and update flows
Reduced potential UI glitches during fast navigation or refresh events
🔔 Notifications & Background Updates
Improved reliability of update notification handling
Enhanced background update worker stability
Reduced chance of duplicate or missed update notifications
⚙️ General Code Improvements
Code cleanup across multiple modules
Improved readability and structure in several ViewModel and repository classes
Better separation of concerns between UI, data, and transformation layers
Minor Gradle and build configuration adjustments for stability
Root installation features were not tested on a rooted device due to hardware limitations.
Other features (UI, repository handling, update flow) were tested in standard environments and emulator conditions.
Please validate root install flow carefully during review/testing.
📌 Summary
This PR focuses on improving:
Stability
Compatibility with multiple APK formats
Repository reliability
UI consistency
Background update handling
Overall, this should result in a smoother and more reliable experience across different Android devices and app sources.