appodeal / Appodeal-Flutter-Plugin

Official Flutter Plugin that adds Appodeal SDK support to your Flutter application.
https://pub.dev/packages/stack_appodeal_flutter
Apache License 2.0
18 stars 3 forks source link

Apk size #12

Closed vishalknishad closed 2 years ago

vishalknishad commented 2 years ago

After adding this package, apk size jumped from 28mb to 66mb 😰. What size can I expect after publishing as bundle to Google Play?

da2gl commented 2 years ago

@vishalknishad Hi. Do you use R8 and release build for your app? Because 66mb sounds very sad. I'm building our demo app and it's pretty lightweight (Despite the fact that it includes many ad networks from Appodeal SDK and a Flutter engine).

Running Gradle task 'bundleRelease'...                             51,3s
✓ Built build/app/outputs/bundle/release/app-release.aab (31.4MB).
davidgalarza commented 2 years ago

Same issue here my app-release.abb was from 30MB without appodeal SDK to 51.2MB

vishalknishad commented 2 years ago

I found the solution

add this tag on you AndroidManifest.xml file android:extractNativeLibs="true"

example:


<application
    android:extractNativeLibs="true"
    ... >
</application>```