Flutter: Push notifications even if the app is closed
For reminders i would recomend Flutter Local Notifications Plugin. It has a powerful scheduling api. From the documentation of local notification:
Scheduling when notifications should appear - Periodically show a
notification (interval-based) - Schedule a notification to be shown
daily at a specified time - Schedule a notification to be shown weekly
on a specified day and time - Ability to handle when a user has tapped on a notification when the app is the foreground, background or terminated
And for push notification, you can use Firebase Cloud Messaging
or one signal plugin or you can implement natively through platform-channels
Edit: You can also fire notifications according to specific conditions even if the app is terminated. This can be achevied by running dart code in the background. Quoting from the official faq:
Can I run Dart code in the background of an Flutter app? Yes, you can
run Dart code in a background process on both iOS and Android. For
more information, see the Medium article Executing Dart in the
Background with Flutter Plugins and Geofencing.
Flutter / Firebase push notifications not fired when app is closed
As per your data send with fcm is sending only data object not notification object as per the fcm to wakeup it self you need to send notification object along with data object.
https://firebase.google.com/docs/cloud-messaging/concept-options
Android Studio push notifications when app is closed
I have been struggling with this for a while, and finally I had to use Firebase Cloud Messaging.
Related Topics
How to Set Different Label for Launcher Rather Than Activity Title
How to Implement Drawerarrowtoggle from Android Appcompat V7 21 Library
This Version of the Application Is Not Configured for Billing Through Google Play
Android Preventing Double Click on a Button
How to Add a Custom Button State
Foreground Service Being Killed by Android
How to Use Searchview in Toolbar Android
How to Access Call Log for Android
How to Prevent an Android Device from Going to Sleep Programmatically
Android. How Does Notifydatasetchanged() Method and Listviews Work
How to Detect User Pressing Home Key in My Activity
Locationclient Getlastlocation() Return Null
Android - Java.Lang.Securityexception: Permission Denial: Starting Intent
Webview Load HTML from Assets Directory
Com.Google.Android.Gms:Play-Services-Measurement-Base Is Being Requested by Various Other Libraries
Android: Keeping a Background Service Alive (Preventing Process Death)
Execute Asynctask Several Times
Android Studio 0.4 Duplicate Files Copied in APK Meta-Inf/License.Txt