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

Conditionally loading full or basic agora library #686

Closed
JonatanSalas opened this issue Aug 1, 2023 · 2 comments
Closed

Conditionally loading full or basic agora library #686

JonatanSalas opened this issue Aug 1, 2023 · 2 comments

Comments

@JonatanSalas
Copy link

JonatanSalas commented Aug 1, 2023

Hi! First of all, thanks to the community for their efforts on this project.

I'm working on an application that relies heavily in agora for video calls.

After performing a release build and analyzing it I realize that there's a lot of libraries that are loaded into the APK but aren't being used. This performs an increase of 35/40MB in APK size.

Screen Shot 2023-08-01 at 18 02 39

I think that it would be possible to make or provide a config in order that this library loads the full or the basic version of the agora native library.

I'm investing some efforts in doing so, a PR with this support would be something that you would be able to accept?

@LichKing-2234
Copy link
Collaborator

you can refer to AgoraIO-Extensions/Agora-Flutter-SDK#1214

@stale
Copy link

stale bot commented Oct 6, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactivity label Oct 6, 2023
@stale stale bot closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants