flutter_local_notifications 0.0.3 flutter_local_notifications: ^0.0.3 copied to clipboard
A cross platform plugin to display local notifications.
flutter_local_notifications #
A cross platform plugin for displaying local notifications.
Getting Started #
Check out the example
directory for a sample app.
Android Integration #
If your application needs the ability to schedule notifications then you need to add the following the manifest
<receiver android:name="com.dexterous.localnotifications.ScheduledNotificationReceiver" />
iOS Integration #
By design, iOS applications do not display notifications when they're in the foreground. Therefore, you need to update the AppDelegate class to handle when a local notification is received to display an alert. This is shown in the sample app where the didReceiveLocalNotification
method. The notification title can be found by looking up the title
within the userInfo
dictionary of the UILocalNotification
object.