app size increased noticeably in v2.5


  • Hi,
    I noticed that after the upgrade to 2.5.1, the app size increased considerably. I did a git bisect run which shows

    commit 3c07bc3abc93228f7c6704417065895793645564
    Author: Ricki Hirner <hirner@bitfire.at>
    Date:   Fri Apr 19 01:55:55 2019 +0200
    
        Use Conscrypt; show progress bar when loading account activity
    

    as the offending commit.
    App sizes before this commit

    8,6M    ./app/build/outputs/apk/standard/debug/app-standard-debug.apk
    5,6M    ./app/build/outputs/apk/standard/release/app-standard-release-unsigned.apk
    

    After this commit

    12M     ./app/build/outputs/apk/standard/debug/app-standard-debug.apk
    8,7M    ./app/build/outputs/apk/standard/release/app-standard-release-unsigned.apk
    

    So, about a 50% in size increase.

  • admin

    Yes thats correct, we needed that!

  • developer

    @mbiebl said in app size increased noticeably in v2.5:

    So, about a 50% in size increase.

    It’s because of Conscrypt.


  • @devvv4ever said in app size increased noticeably in v2.5:

    Yes thats correct, we needed that!

    Can you elaborate a bit more on that? What benefits does Conscrypt offer?

  • admin

    It makes it possible to include new ciphers on an app-basis (packaged to the app) instead of only using the cipher suites which the base system provides. Because of that older devices with old systems like Android 4/5/6 are able to use more modern encryption techniques. At the end this makes the ecosystem more future-proof and more secure.

    See the example we’ve posted here: https://twitter.com/davx5app/status/1128622058139717632 (2nd image)

Similar topics

  • 3
  • 2
  • 14