ScreenShareTile icon indicating copy to clipboard operation
ScreenShareTile copied to clipboard

APK size exploded with v1.4.0

Open IzzySoft opened this issue 3 years ago • 3 comments

With version 1.4.0, size of the APK suddenly increased by factor 4 (from 4 to 16 MB). Did something go wrong, or was that intended?

IzzySoft avatar Mar 01 '22 23:03 IzzySoft

I guess it is because the image processing lib changed to Ananas from https://github.com/npes87184/ScreenShareTile/commit/022f4cb94e3b76ac1e351dcd73d40f5bd38eb74f.

Although ScreenShareTile only enables small parts of features from Ananas, it provides many features like stickers, which may increase the size of APK.

npes87184 avatar Mar 02 '22 12:03 npes87184

OK, thanks! Just wanted to make sure that it was not due to some dependencies dragged in unintentionally. As I see you use proguard, you could try to counter that to a degree by letting it remove unused code if you wish (preferably without obfuscating – after all this is open source, so no reason to obfuscate and hide things):

postprocessing {
    removeUnusedCode true
    removeUnusedResources true // <--
    obfuscate false
    optimizeCode true
}

(source: Minify android app but do not obfuscate it)

IzzySoft avatar Mar 02 '22 23:03 IzzySoft

Thank you for your help, I will dig on it when I have free time :D

npes87184 avatar Mar 03 '22 01:03 npes87184