Skip to content
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

Dynamic home screen icon based on weather #122

Open
4 tasks
shatanikmahanty opened this issue Oct 16, 2023 · 1 comment
Open
4 tasks

Dynamic home screen icon based on weather #122

shatanikmahanty opened this issue Oct 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@shatanikmahanty
Copy link
Contributor

shatanikmahanty commented Oct 16, 2023

Proposal:

To change app icon based on current weather status. Default will be the rain icon we have currently.

Can be achieved with this package: https://pub.dev/packages/dynamic_icon_flutter

Was thinking of something like this:
image

I Will raise a PR if this will be relevant to users. Let me know your thoughts

Edit: App icon now changes dynamically.

Future changes in consideration:

  • Figure out a way to change app icon on every weather update cycle rather than only on location change or app open
  • Optimise change icon call by checking if the current icon is same as the one we are trying to change to
  • Let users decide if they want this feature through a switch in settings. By default I will keep this false as android restarts app on changing icon
  • Let users decide if the icon changes on closing app or instantly
@Leonavichus Leonavichus added the enhancement New feature or request label Oct 16, 2023
@Leonavichus
Copy link
Member

That would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants