capacitor-assets icon indicating copy to clipboard operation
capacitor-assets copied to clipboard

Option for full target path

Open ramisalminen opened this issue 2 years ago • 1 comments

Thank you for the plugin and enhancements done for that. Currently there's options for --assetPath and --android-project. However in my mind more useful would be if --android-project path would equal to the actual full path to the resource folder root. I.e. you could define any replacement for the default android/app/src/main. For example I'm using flavors for different white label versions and I would require path to be android/app/src/app1 under where the res folder would be created.

ramisalminen avatar Feb 08 '23 14:02 ramisalminen

Hi, I agree with your point. The best, to be aligned with other cli command, will be to have a "--androidFlavor" attribute. This flavor will then be added to the classic rootPath. In this way, we can generate assets easily for multiple variant in our applicaton. Thanks

TiBz0u avatar May 24 '24 08:05 TiBz0u