card-io / card.io-Android-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
1.99k stars 535 forks source link

AAR size increased from 2.63 MB to 12 MB in release 5.1.0 #221

Closed jameswald closed 6 years ago

jameswald commented 6 years ago

General information

Issue description

When updating card.io from an old 3.x release to 5.5.1 I noticed that our APK nearly doubled in size from 11MB to 21MB. This increase is due to the card.io dependency:

card.io-5.0.0.aar 2.63 MB
card.io-5.1.0.aar 12 MB
card.io-5.5.1.aar 12.2 MB

Any idea what might have caused such a significant increase?

jameswald commented 6 years ago

Dupe of https://github.com/card-io/card.io-Android-SDK/issues/178.