-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read flavor icons files #69
Conversation
XCode project should contains configuration that need to be suffixed by |
Hey @sestegra thank you for this PR! Apologies for the delayed response, took time off over the holiday season. Wanted to reply to this PR and acknowledge your great efforts with this, I know it had been requested in the past. I'll need to test this before merging it in. Schedule is a bit busy atm so can't give you an estimation on when I'll get it done. I know two users posted about the flavours idea so going to ping them in case they're interested in testing it out to help speed up the process @rockneverdies55 @GregorySech |
Yeah, I'll be checking it out this week (probably in the weekend) |
Hi @sestegra finally getting round to testing this out, however to speed up the process, I would need a couple of things:
|
I pushed updates for points 1 & 2. |
Hi @sestegra! Appreciate you pushing your updates. I tried testing out your changes but I was receiving the below error message when I changed my Android run configurations to run the x build flavor.
Curious if this PR will only work on a project which currently has flavors working for both the iOS and Android Flutter app? If so, it would be best updating the example project so it can be run with the different flavours. |
In fact, I have only tested the icons building, not the app itself. See a full project example here |
Okay so I've tested it out in your example project and it seems to be working fine there. However I do think an example within Flutter Launcher Icons would be good. I believe the example directory should be updated to contain two example apps:
Mainly because flavors seems to be pretty unique compared to the other features and I don't want people getting confused thinking they need all the different configuration files to quickly change the default Flutter app icons. For now I'm happy to merge flavors into it's own branch until I get the example directory updated and then merge in the flavor support along with the example app showing how it works. |
In fact, as you suggest, it's better to avoid confusion
|
Any chance to see this PR merged into master any time ? |
…y#69) * Read flavor icons (Android support) * iOS siupport * Fix iOS support * Fix icons sets * Fix new icons size * Add examples for flavors * Update README for flavor support
any updates on this? |
* Supporting flavors for projects with flavors enabled (#69) * Read flavor icons (Android support) * iOS siupport * Fix iOS support * Fix icons sets * Fix new icons size * Add examples for flavors * Update README for flavor support * Supporting flavors for projects with flavors enabled (#69) * Read flavor icons (Android support) * iOS siupport * Fix iOS support * Fix icons sets * Fix new icons size * Add examples for flavors * Update README for flavor support * Apply suggestions from code review Co-Authored-By: Mark O'Sullivan <mos182@hotmail.co.uk> * Added a sample app that supports flavors * Moved sample projects to example/default and example/flavors * converting double quote to single quote * saving changes * improved terminal output (#193) Co-authored-by: Mark O'Sullivan <mark@argent.im> * fixed broken default app Co-authored-by: Stéphane Este-Gracias <sestegra@gmail.com> Co-authored-by: braxtont <51523001+braxtont@users.noreply.github.com> Co-authored-by: Jorge Coca <jorge.coca.github@gmail.com> Co-authored-by: Mark O'Sullivan <mark@argent.im>
Expected files are following:
flutter_launcher_icons.yaml
orpubspec.yaml
from default iconsflutter_launcher_icons-<flavor>.yaml
for flavor iconsTODO