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.
Enable ProGuard like compose manager.
The size of release APK: 45.7MB -> 39.9MB (5.8MB reduced)
Motivation
5.8MB is not a small change.
Each version of ReVanced Manager is being downloaded 100,000-300,000 times.
5.8MB * 200,000 times = 1,160,000MB ≒ 1.1TB
So, this reduces 1.1TB of GItHub's traffic from each new versions.
Therefore, if you are planning to continue to release Flutter manager, I think this is effective.
Other
Also, this PR disables Jetifier.
because all dependent libraries support AndroidX. (checked by
gradlew checkJetifier
)This solves this build error:
Test
I tested all features of ReVanced Manager and checked works correctly.
This change was already introduced on my fork ReVanced Manager a month ago, which is 2500 downloads, and any problems are not reported.