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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -