flutter_local_notifications 0.0.4 copy "flutter_local_notifications: ^0.0.4" to clipboard
flutter_local_notifications: ^0.0.4 copied to clipboard

outdated

A cross platform plugin for displaying local notifications.

flutter_local_notifications #

A cross platform plugin for displaying local notifications. Note that this plugin aims to provide abstractions for all platforms as opposed to having methods that only work on specific platforms. However, each method allows passing in "platform-specifics" that contains data that is specific for customising notifications on each platform.

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.flutterlocalnotifications.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 within the didReceiveLocalNotification method of the AppDelegate class. The notification title can be found by looking up the title within the userInfo dictionary of the UILocalNotification object.

5973
likes
0
pub points
100%
popularity

Publisher

verified publisherdexterx.dev

A cross platform plugin for displaying local notifications.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_local_notifications