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

The plugin is too large, what is the optimization method? Can it be integrated on demand? #688

Closed
OHeroJ opened this issue May 23, 2022 · 8 comments
Labels
waiting for customer response waiting for customer response, or closed by no-reponse bot

Comments

@OHeroJ
Copy link

OHeroJ commented May 23, 2022

插件体积过于庞大,有何优化手段?能否按需集成

@maxxfrazer
Copy link
Contributor

Can you see which files are too large for your environment? Is it files included in previous commits on this repo?

@OHeroJ
Copy link
Author

OHeroJ commented May 24, 2022

Can you see which files are too large for your environment? Is it files included in previous commits on this repo?

8861653351979pic

https://docs.agora.io/cn/Agora%20Platform/reduce_rtc_app_size?platform=iOS

@maxxfrazer
Copy link
Contributor

that what i thought, i saw before that these framework files were uploaded to previous commits from a long time ago.
@littleGnAl the repo is, i believe, over 300mb because of these mistakenly uploaded frameworks. would expect it shouldn't be more than 10mb.

could you look at stripping the large files out? i'm happy to do it if you're not able to right now, all people with clones will need to pull a forced update though, to avoid re-pushing the files

@littleGnAl
Copy link
Contributor

@maxxfrazer This is not that issue.

@littleGnAl
Copy link
Contributor

littleGnAl commented May 26, 2022

@OHeroJ You can use abiFilters and packagingOptions to exclude some .so files if you don't need them on Android, but there is no easy way to exclude the frameworks on iOS.
https://docs.agora.io/cn/Agora%20Platform/reduce_rtc_app_size?platform=iOS#插件列表

@littleGnAl
Copy link
Contributor

Please check #1214

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jul 13, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2023

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

@github-actions github-actions bot closed this as completed Aug 3, 2023
@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for customer response waiting for customer response, or closed by no-reponse bot
Projects
None yet
Development

No branches or pull requests

3 participants