-
Notifications
You must be signed in to change notification settings - Fork 198
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
Exported app size increases with rive 0.13.0 #367
Comments
Hi @Amir-P are you setting the ndk-version to:
See docs here: https://github.com/rive-app/rive-flutter/blob/master/platform_considerations.md#android |
Hi @HayesGordon. Yes, I'm using the exact same version of NDK in my Android project. |
Hey @Amir-P, I can confirm what you're seeing. This release is a build-up in preparation for new features that are launching, which are included in those libraries. We'll investigate this size increase and get back to you. For now I recommend downgrading back to a previous version. Apologies for the inconvenience. To answer your question about opting out of text + audio, this is something that is already a feature request. But we've not yet planned for this work. |
@HayesGordon do you know more about that issue? Will be fixed? |
We are also waiting for the update. The Rive adds an insane 176 MB to our APK size (we need to use APK for specific reasons). EDIT: Actually this was without specific ndk version. With it it's 26 MB increase which is still a lot but more reasonable. |
@itsJoKr could you share a sample project that reproduces this. And provide more information on your build environment and which version of Flutter you're using. In our testing @Amir-P can you confirm if you're still seeing the big jump. On our side going from version 0.12.0 to 0.13.7 is around 0.4mb increase. |
@HayesGordon I still see an increase in APK size. Here's is the exact numbers for fat APK with different Without rive: 38.3MB
0.9.1: 38.8MB
0.12.0: 42.9MB
0.13.7: 44.7MB As you can see depending on version |
duplicate of #274 ? |
Description
Upgrading rive from 0.12.4 to 0.13.0, resulted in a huge jump in APK size (about 1.8 MB for android-arm64). Looking at the details I can see this is caused by
librive_text.so
.Is there any way to opt-out of text and audio engine?
Device & Versions
The text was updated successfully, but these errors were encountered: