Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] - Reduce APK Build Size #416

Closed
adithyaakrishna opened this issue Mar 20, 2021 · 7 comments
Closed

[Enhancement] - Reduce APK Build Size #416

adithyaakrishna opened this issue Mar 20, 2021 · 7 comments
Assignees

Comments

@adithyaakrishna
Copy link
Contributor

  • Issue Description:
    The apk file when the app builds for android is significantly large ~90mb and this can be issue when the app is used in lower-end devices.
  • Issue Severity: Medium
  • Environment Details: Android Running on Pixel 3 API 28
  • Observed Behaviour: The app size is ~90mb
  • Expected Behaviour: Reduce the app size to <40mb
  • Steps to reproduce issue: Build the app for android
  • Does this issue need immediate attention?
    Not much, but this would be a factor to consider when the app is released in the future
  • Are you willing to work on this issue: Yes, I'm willing to work on this issue and can optimize the app especially the assets which occupy a major size of the app
  • Other information: The app size can be reduced through optimizing the images and converting the icons to .svg files and for images into compressed .png
@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Mar 20, 2021
@yasharth291
Copy link
Contributor

it automatically decreases once it is released for market version. Second way is to make App bundle @adithyaakrishna

@adithyaakrishna
Copy link
Contributor Author

it automatically decreases once it is released for market version. Second way is to make App bundle @adithyaakrishna

I made the app bundle, and I completely agree with you that the market version will be a bit smaller in size but the size of assets can be reduced even further and also using Google Font APIs instead of font assets

@yasharth291
Copy link
Contributor

yeah right and we can use @imgbot to further reduce the size of the images used @Sagar2366

@yasharth291
Copy link
Contributor

can you please add imgbot in the repository

@Sagar2366 Sagar2366 added help wanted and removed enhancement unapproved Unapproved, needs to be triaged labels Mar 21, 2021
@yasharth291
Copy link
Contributor

I can help here @adithyaakrishna @Sagar2366

@CyberWake
Copy link
Contributor

@adithyaakrishna we are certainly looking into it with flutter 2.0 #834 , upgraded dependencies #835 and making a full re write to maximize the efficiency and reduce the app size #850 .

@CyberWake
Copy link
Contributor

@palisadoes sir this issue will get resolved in #850 please close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants