pusheco / pushe-android-studio-sample

This is a sample application powered by Pushe.co which is build with Android Studio.
http://pushe.co
Apache License 2.0
20 stars 6 forks source link

Pushe library increases signed app's size #56

Open razaghimahdi opened 2 years ago

razaghimahdi commented 2 years ago

my apk's size (by proguard) is Almost 5mb, but when I added pushe library size became 15mb(sometimes 10mb), how to fix that?

mahdi-malv commented 2 years ago

15 MB doesn't seem sensible to me since there aren't much code in Pushe + All its deps. 10MB does though.

There's nothing to fix. If you have nothing in common with Pushe dependencies, you'll get a larger pack at the end.

Libraries otherthan Pushe that will be added to classpath are quite large:

Together they make the final pack quite larger (specially for an almost empty APK)

If there's gonna be a remake to the project, it will be much smaller. However, next release will only be bugFix and the size issue still remains intact.

mahdi-malv commented 2 years ago

Update to this. Since deletion of RxJava2 from the library is really complex and time-consuming, after some minor updates to the library I'll be working on a solution to reduce the final AAR size of all modules.

Unfortunately, I can not specify a deadline for now. Will notify in the issue as soon as I have new updates.

razaghimahdi commented 2 years ago

hi again, any update?

mahdi-malv commented 2 years ago

Not yet. The focus is on automation development and the improvements have lower priority. So the process is in paused state temporarily.