You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After integrating the zego_uikit_prebuilt_call package in my Flutter project, I noticed that the APK size is significantly large. The generated release APK is 182.2MB, which seems excessive for the functionality provided by this single package.
Expected behavior:
The APK size should be smaller and more optimized, especially for a single package integration.
Current behavior:
The release APK size is 182.2MB, which is much larger than expected.
Steps to reproduce
Create a new Flutter project with latest flutter SDK version.
Add the following dependency to pubspec.yaml:
dependencies:
zego_uikit_prebuilt_call: 4.15.4
Make sure you add the following plugin configurations to your settings.gradle file:
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.0" apply false
}
Update your gradle-wrapper.properties file to use the correct distribution URL for Gradle 7.4:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
add also this configuration of android.
Run the command to build the release APK: flutter build apk --release
Observe the final APK size.
Images
The text was updated successfully, but these errors were encountered:
After reducing the app size and generating different compatibility versions for my Flutter project, I encountered an issue with the cached_video_player package. The error prevents the build of the app.
Environment
Description
After integrating the zego_uikit_prebuilt_call package in my Flutter project, I noticed that the APK size is significantly large. The generated release APK is 182.2MB, which seems excessive for the functionality provided by this single package.
Expected behavior:
The APK size should be smaller and more optimized, especially for a single package integration.
Current behavior:
The release APK size is 182.2MB, which is much larger than expected.
Steps to reproduce
flutter build apk --release
Images
The text was updated successfully, but these errors were encountered: