cordova - ionic platform add android - are these necessary directories? -


when run either of following commands:

$ ionic platform add android 

or

$ ionic run android -l 

the plugins on directory:

<root>/plugins 

are copied directory:

<root>/platforms/android/assets/www/plugins 

enter image description here

inside each plugin directory there 1 javascript file.

in other hand, inside directory:

<root>/platforms/android/assets/www/build 

there 1 compiled javascript file: main.js

enter image description here

so, question if need following directory?

<root>/platforms/android/assets/www/plugins 

in case application doesn't need it, how can remove during execution of 2 first commands above?

in <root>/platforms/android/assets/www/build find .js files of application (the code create application). in <root>/platforms/android/assets/www/plugins find single folder , 1 or more .js files every plugin add project, these .js files part of bridge between javascript part in webview , native (java or objc) code of plugins. deleting them break cordovas plugin system.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -