Giter VIP home page Giter VIP logo

Comments (6)

binSaed avatar binSaed commented on June 22, 2024

15MB is so big
I have more than an app in google play using my package and app size 9MB approx

so I will give u some advice

- size in debug mode is different from release mode

- don't upload apk to google play it is recommended to use appbundle to let google split it to different CPU architecture

- and don't forget to add proguard-rules.pro

https://github.com/AbdOoSaed/flutter_cached_pdfview/blob/8ca667d27234cde23a8ebef0e3220ec90a98dba2/example/android/app/proguard-rules.pro#L1

- and build.gradle from line 49 to 69

https://github.com/AbdOoSaed/flutter_cached_pdfview/blob/8ca667d27234cde23a8ebef0e3220ec90a98dba2/example/android/app/build.gradle#L49

from flutter_cached_pdfview.

amanv8060 avatar amanv8060 commented on June 22, 2024

i have attahced size analysis for both ,this is of a specific apk architecture , not fat apk

size jsons.zip

from flutter_cached_pdfview.

binSaed avatar binSaed commented on June 22, 2024

@amanv8060

the diff is only 3MB when u use bundle

DIF

from flutter_cached_pdfview.

amanv8060 avatar amanv8060 commented on June 22, 2024

No difference is 18 mb , I am surprised too , that why adding this is causing issue
I tried atleast 7-8 times before and after filing the issue

from flutter_cached_pdfview.

binSaed avatar binSaed commented on June 22, 2024

18MB for all architectures
every device only use one architecture
google play will split ur bundle

from flutter_cached_pdfview.

amanv8060 avatar amanv8060 commented on June 22, 2024

Yes , i am aware of that , notice that , these are the analysis for specific cpu structure not of fat apk

from flutter_cached_pdfview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.