Open Kushalrock opened 3 years ago
Hey, can you assign me to this issue ?
Yes I can assign you to the issue.
What do you think the problem is?? Is it the same that I have mentioned??
The notifications icon works fine for my device, so its definitely the adaptive constraints.
Okay so how are you going to make the adaptive icons??
In my real device the app icon also doesn't look that good it should show the whole clock
Hey @Kushalrock can I take this issue , if still is not resolved ,bcoz done this before
Actually, I don't know if it actually works or not. Because we have some phones where it works like on my real device and one more device, and others where it doesn't show image like in Android emulator and one more device I tested on. You can check it. And tell me if changes are needed.
Also @msramesh2k1 , I checked out your github profile and really intrigued by it. We have a major bug and we are working on it. If you can help us with that too. The bug is with recurring notifs we can schedule them but I guess that either due to flutter local notif package that we are using for notifications, it works some time but other times when app is in background some notifs doesn't show up. If it is a problem from our side we will try our best to resolve it, but if its a problem from flutter local notif package side I guess we have to shift to using android alarm manager.
Actually, I don't know if it actually works or not. Because we have some phones where it works like on my real device and one more device, and others where it doesn't show image like in Android emulator and one more device I tested on. You can check it. And tell me if changes are needed.
Okie sure
Also @msramesh2k1 , I checked out your github profile and really intrigued by it. We have a major bug and we are working on it. If you can help us with that too. The bug is with recurring notifs we can schedule them but I guess that either due to flutter local notif package that we are using for notifications, it works some time but other times when app is in background some notifs doesn't show up. If it is a problem from our side we will try our best to resolve it, but if its a problem from flutter local notif package side I guess we have to shift to using android alarm manager.
Yes @Kushalrock it won't work perfectly in background or once app is closed , I too tired lots of package such as cron , android alarm manager but finally I end up with background fetch . You can also give a try on background_fetch
I see background fetch maybe you can work with us shifting to it. @msramesh2k1
I see background fetch maybe you can work with us shifting to it. @msramesh2k1
No sry @Kushalrock I am just taking up small small issues bcoz I had some other works
I see background fetch maybe you can work with us shifting to it. @msramesh2k1
No sry @Kushalrock I am just taking up small small issues bcoz I had some other works
Do check pawan's background fetch video
Sure, No problem. Thank you for helping
Actually, I don't know if it actually works or not. Because we have some phones where it works like on my real device and one more device, and others where it doesn't show image like in Android emulator and one more device I tested on. You can check it. And tell me if changes are needed.
It can be solved by using the adaptive icon. This is right, but with an adaptive icon, you can only solve this. You also have to use that adaptive icon for Android devices too. Also, if you want, you can add custom colours from the Android Manifest file. I hope I can help.
@alamin-karno I can assign you this task
Is the issue solved ?
Describe the bug The app doesn't show the icon of the app in the notifications.
To Reproduce Steps to reproduce the behavior:
Expected behavior The app's icon should have been shown in place of a white square block.
Screenshots
Additional context The icon that should be used in the notifications is initialized in
lib/services/notifications.dart
.Ways to solve it Changing the icon size or creating proper adaptive icons.
Ideas about why is this happening I am not completely sure, but perhaps the issue is the use of non-proper adaptive icons and the size of the icon.