Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10864 Reply

    Pieter Claerhout

    Hi Dr. Plug,

    the latest version of the PlugPDF libraries, we’ve seen quite an increase in the filesize of the libplugpdf.so files.

    The generated APK file size went from 30 MB to 50MB.

    The uncompressed size of the so files went from 63 MB to 110 MB.

    This makes downloading the APK taking a lot more time as well as the files take a lot more space on the filesystem.

    Is there any reason why the size has almost doubled? Any change you can look into ways to makes these files smaller?

    You can find some hints on:

    Kind regards,

    Pieter Claerhout
    http://twixlmedia.com

    #10866 Reply

    Dr. Plug
    Moderator

    Hello Pieter,

    Thank you for your feedback.
    The increase in file size is due to the inclusion of default PDF fonts in the binary. We wanted to enhance the font handling but also think that the file size is too big. We are considering to make a separate font data file which will be 7MB, then each .so file will be reduced in file size by 7MB. With this the generated APK will be 34MB with 4MB increase from the original.
    We will release the compressed version in the next week. Thank you very much for your patience.
    Best regards,

    Dr. Plug

    #11002 Reply

    Pieter Claerhout

    Hi Dr. Plug,

    any idea when we might be expecting this update?

    Kind regards,

    Pieter Claerhout
    http://twixlmedia.com

    #11004 Reply

    Dr. Plug
    Moderator

    Hello Simon,

    We released a new version of the PlugPDF SDK allowing to lazy-load the
    .so library.

    Now, the PlugPDF SDK doesn’t load the native library before the call to
    the PlugPDF.init() method is made.

    Since the native library can be excluded from your APK files, the
    program will download it for you when running for the first time.

    Please download the latest SDK at https://plugpdf.com/thank-you/ and let
    us know if you have any further questions by posting a message on the forum.

    Thank you for your interest in our product.

    Best regards,

    Dr. Plug

    #11048 Reply

    Pieter Claerhout

    Hi,

    this doesn’t seem to be a good solution for us as we want to include the so files in the binary (to avoid downloads in slower regions).

    The new release still has the same size in terms of SO file.

    Kind regards,

    Pieter Claerhout
    http://twixlmedia.com

    #11101 Reply

    Pieter Claerhout

    Hi,

    any update on this?

    Kind regards,

    pieter

    #11136 Reply

    Dr. Plug
    Moderator

    Hello Pieter,

    Thank you very much for your patience.
    We could compact the binary size and released a new update.
    Please download the new version at https://plugpdf.com/thank-you/
    I hope this will satisfy you.
    Cheers,

    Dr. Plug

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Size of the libplugpdf.so files
Your information: