-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add "Themed Icons" for Android #220
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Just found out that the edit: to use this unreleased feature, we need to switch to the latest master version. |
5be76a7
to
7046e7b
Compare
Re-implemented with |
Run `flutter pub run flutter_launcher_icons`.
7046e7b
to
59a00dd
Compare
Please note that this PR is blocked by #224. Without a proper splash screen for Android 12 and later, the app will launch with 2 splash screens. Details about double splash screen: https://stackoverflow.com/questions/77098464/play-console-pre-launch-warning-double-splash-screen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's blocked by #224, I suggest to change the PR into draft.
Description
This PR adds support for Themed Icons on Android. This feature allows users running Android 13 or later theme our app icon based on the system theme.
Implementation
flutter_launcher_icons
with the version added support for themed icons.android.png
with the background removed as the foreground for the adaptive icon.tat.png
tooriginal.png
, and use this image for iOS and older Android versions.Testing Instructions
Install the app on Android, drag a shortcut onto the home screen, and enable "Themed Icons" in the launcher settings. Verify that the TAT logo correctly follows the system theme.
Additional Notes
N/A.