Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.ibm.icu makes the app size 10mb more #76

Closed
kevin4dhd opened this issue Mar 17, 2021 · 2 comments
Closed

com.ibm.icu makes the app size 10mb more #76

kevin4dhd opened this issue Mar 17, 2021 · 2 comments

Comments

@kevin4dhd
Copy link

Recommend replacing or changing the algorithm, remove the library and the app now weighs 7mb, it is exaggeratedly large since it is only used for subtitles.

image

@moneytoo
Copy link
Owner

I also hate it but this is the only library I found to work for correctly detecting file encodings (including mine like cp1250). If you know any smaller that works just as well...

The thing is that if the majority of users install the app from Google Play, thanks to differential update mechanism they won't really redownload the same stuff over and over, just the difference.

I tried and can make specific builds with/without this library, even builds for specific architecture (ABI) so apk is just about 5 MB. I would do that but than I would also have to explain a lot to the users. Just for saving a few MB.

@moneytoo
Copy link
Owner

The all arch APK is now 56 MB. On the other hand the update size on Google Play is only 5 MB (new downloads are 24 to 30 MB). The latter is what really matters. I'm open to replacing currently used larges libraries but I don't know any better alternatives right now so I'm closing this.

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

No branches or pull requests

2 participants