Greatly increases the size of my app (android, ionic, cordova )

Description
When I install its cordova.plugin.zoom library my Android application package (apk) goes from 13.7 mb to 100 mb. I would like to know if this weight can be minimized?

Error
greatly increases the size of my app

Which version?

"@ionic-native/zoom": "^5.27.0",
"cordova.plugin.zoom": "^4.6.2166-6.603"

IONIC INFO

Ionic:

Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.2.3
@angular-devkit/build-angular : 0.803.28
@angular-devkit/schematics : 8.3.28
@angular/cli : 8.3.28
@ionic/angular-toolkit : 2.2.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic 5.4.7, cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 28 other plugins)

Utility:

cordova-res (update available: 0.15.1) : 0.6.0
native-run (update available: 1.0.0) : 0.2.5

System:

ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v12.4.0 (/Users/developer/.nvm/versions/node/v12.4.0/bin/node)
npm : 6.14.5
OS : macOS Catalina
Xcode : Xcode 11.4.1 Build version 11E503a

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. ionic cordova plugin add cordova.plugin.zoom
  2. npm install @ionic-native/zoom

Hi @bnfmeetings,

Thanks for using Zoom SDK. The Ionic SDK contains both Android SDK and the iOS SDK. If your app is only available on Android, you may delete the iOS SDK in the plugin library folder. For Android SDK, you may also configure the gradle file and add abiFilter to compile with the CPU ABI that you supports.

Thanks!

people who have the same problem; I recommend reading this thread: https://stackoverflow.com/questions/33228158/android-architecture-usage

1 Like

Thanks for sharing this!

1 Like

Hi,
I’m delete the IOS SDK plugin now using only android SDK plugin but the apk weight not decrease . its still 108mb. please let me know how to minimized the apk weight.
thanks

Hi,
have you get the solution to decrease the weight of apk…