fbsamples / audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
https://developers.facebook.com/docs/audience-network
Other
318 stars 371 forks source link

Too much size added in assets increasing APK size #122

Closed Hanzala717 closed 3 years ago

Hanzala717 commented 4 years ago

after updating to latest version of SDK it adds 1.6MB file size in assets which increasing APK size that's incredibly very high like our app size is 2 MB and after adding this SDK it reaches almost 4 MB.

how to reduce that side ?

gwheet commented 3 years ago

The SDK includes variety of ad formats for the best monetisation that naturally increases the size. We don't have immediate plans to address this problem. If size is absolutely critical for you, you can try to extract ads SDK into separate dynamically downloadable module: https://developer.android.com/guide/app-bundle/play-feature-delivery