-
Notifications
You must be signed in to change notification settings - Fork 4
Open
0 / 20 of 2 issues completedOpen
0 / 20 of 2 issues completed
Copy link
Milestone
Description
Also adjust the icon to be used and set priority to high
Stop using the package overlay_support
void showFlutterNotification(RemoteMessage message) {
RemoteNotification? notification = message.notification;
AndroidNotification? android = message.notification?.android;
if (notification != null && android != null && !kIsWeb) {
flutterLocalNotificationsPlugin.show(
notification.hashCode,
notification.title,
notification.body,
NotificationDetails(
android: AndroidNotificationDetails(
channel.id,
channel.name,
channelDescription: channel.description,
// TODO add a proper drawable resource to android, for now using
// one that already exists in example app.
icon: 'launch_background',
),
),
);
}
}Sub-issues
Metadata
Metadata
Assignees
Labels
No labels