Support for multiple build configurations?
stueynet opened this issue · 3 comments
We use different icons for our development / staging builds and the production build to allow people to have both on their phone simultaneously. Is there a way to add multiple icon sets so we can configure the correct one for each build configuration?
Hi @stueynet, I can see two possibilities for that:
Overriding the assets when deploying depending on the configuration
Add an option to the generator to specify build type.
Then on Android, change the behaviour here, so that you can specify the build configuration you want to export to, so that created assets go into a debug
folder for instance, instead of the main
folder.
On iOS, the target folder could be changed here to include the scheme name.
Then you could create a dev scheme with the dev iconset and a staging scheme with the staging iconset.
What do you think?
I don't think we'll have time to implement this in a foreseeable future, but PR are mostly welcome, if you're up to it! :)