Flutter: Schedule Notification Not Working
I am developing a app using Flutter. To show notification I an using flutter_local_notifications package. I am getting notification, but schedule notification is not working. Simil
Solution 1:
I had the same problem but couldn't find the solution online, however, later I did figure out running flutter clean
then flutter run
seems to do the trick for me.
You have to essentially clean your build and rebuild it again. Hope that helps.
Solution 2:
adding this inside application of your manifest might solve your problem
<serviceandroid:name="com.folk.localnotifications.services.LocalNotificationsService"android:exported="false" />
Remember: com.folk is used for this project only. For different project, go to your manifest, see package name and edit accordingly.
Solution 3:
I had the same issue, I solved it by creating a separate notification channel for each android notification I was issuing, even if they share the same priority.
Post a Comment for "Flutter: Schedule Notification Not Working"