Our Android SDK size decreased 55%.
Library |
Size change |
Before |
After |
Pixlee SDK |
-5.3mb |
9.5mb |
4.2mb |
What's changed?
Library |
Use |
Size change |
Before |
After |
Details |
ExoPlayer |
playing video |
-1.3mb |
4.2mb |
2.9mb |
removed Exoplayer.dash and Exoplayer.ima |
core-ktx |
view control |
-0.1mb |
0.1mb |
0 |
replaced androidx.core.view.doOnPreDraw with View.post{...} |
kotlinx-coroutines-test |
for testing |
-2.2mb |
2.2mb |
0 |
removed from the app build. This should only have been included in testing. |
jakson -> gson |
json parser |
-0.62mb |
0.7mb |
0.08mb |
replaced jackson with gson that does the same job |
material |
design utility |
-1.5mb |
1.5mb |
0 |
removed. CardView from material lib got replaced with a XML. |