Closed xmha97 closed 1 year ago
I think it's possible. Aves is a Flutter app and has the monochrome icon.
Brethap currently uses flutter_launcher_icons to generate app icons. At the moment it doesn't support generating monochrome icons (see https://github.com/fluttercommunity/flutter_launcher_icons/issues/419). I'll look into manually adding them. It would be preferable to use flutter_launcher_icons in the future.
@xmha97 I found this article to manually add them: add-android-themed-icon-support-to-your-flutter-app. It doesn't look to bad. Do you want to implement it and submit a pull request?
@xmha97 I found this article to manually add them: add-android-themed-icon-support-to-your-flutter-app. It doesn't look to bad. Do you want to implement it and submit a pull request?
Sorry, I'm not a programmer.
Your profile says you have skills in c# and you love coding for fun. This update would just be adding the images and editing xml. I can update your pull request if there are any problems.
Your profile says you have skills in c# and you love coding for fun.
:)))
This update would just be adding the images and editing xml. I can update your pull request if there are any problems.
OK, please check this PR: https://github.com/jithware/brethap/pull/97
Tried running the pull request on an emulator with API 33 and getting:
AAPT: error: resource drawable/ic_launcher_background (aka com.jithware.brethap:drawable/ic_launcher_background) not found.
I'll have to look a little deeper into adding monochrome.
I believe I got it working. The "B" is a little bigger now due to clipping of adaptive icons, but seems to work:
@xmha97 any chance you are fluent in the native langauge of Iran? If so, are you interested in adding it to Brethap? This way Brethap can be added to the Play Store for Iran. Here's a howto if you are interested.
In release >= 1.7.16+104
Thanks 🙏
Please support the Android 13 "Themed App Icons" feature.