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
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
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
Post a Comment