mirror of https://github.com/beemdevelopment/Aegis
Minify and optimize the APK using ProGuard
This enables some minification and optimization options to shrink the size of our APK. A release APK would previously be 12 MB in size, but would now be 8.2 MB. To test, check if *all* of the functionality of the app still works, particularly parts that refer to dependencies. You'll know if ProGuard broke something when the app crashes with a ``ClassNotFoundException`` or similar exception. I think I've covered all of the cases where ProGuard removed too much in the rule file. Also, I was curious why our APK had gotten so large to begin with. I did some digging and found that this is caused by the SQLCipher dependency. The APK shrinks down to 2.7 MB without it! We should consider whether having support for importing from Authenticator Plus is worth the extra 5.5 MB in size.pull/388/head
parent
9b328893f7
commit
77718809ef
Loading…
Reference in New Issue