[go: nahoru, domu]

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

After using record, my apk size changed from 30MB to 68MB。Is that a bug? #357

Closed
tfn290181662 opened this issue Jun 28, 2024 · 4 comments

Comments

@tfn290181662
Copy link

Package version

Environment

  • OS: [e.g. iOS/Windows/...]
  • Browser [e.g. chrome, safari] if issue is on web platform.

Describe the bug

A clear and concise description of what the bug is.

Add your record configuration RecordConfig(...)

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

@tfn290181662 tfn290181662 changed the title After using record, my apk size changed from 30MB to 68MB。is that a bug After using record, my apk size changed from 30MB to 68MB。Is that a bug? Jun 28, 2024
@tfn290181662
Copy link
Author

It's too large for me . How can i fix this?

@llfbandit
Copy link
Owner

Since you don't provide any info I suggest you to analyse your apk before assuming this is due to the package.

@tfn290181662
Copy link
Author

I

Since you don't provide any info I suggest you to analyse your apk before assuming this is due to the package.

I just created a new Flutter project and built an APK. The resulting APK size was 18MB. After adding the record package, the APK size increased to 40MB. I didn’t make any other changes besides adding this package.So I think the increase in size is caused by the record package.

@llfbandit
Copy link
Owner

I agree, it may be quite surprising when building with APK type.
Building with appbundle reveals that default Flutter project is around 17MB and building example project leads to almost the same output size without any optimization for both.

Closing this, there's nothing wrong.

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

2 participants