mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
make notifications silent
This commit is contained in:
parent
3fca1eebe5
commit
9be1f7fe00
1 changed files with 4 additions and 0 deletions
|
@ -474,6 +474,10 @@ Future<void> initializeService(FlutterBackgroundService bgService, bool useNotif
|
||||||
"${notificationChannelName}_$i",
|
"${notificationChannelName}_$i",
|
||||||
description: notificationChannelDescription,
|
description: notificationChannelDescription,
|
||||||
importance: Importance.min,
|
importance: Importance.min,
|
||||||
|
playSound: false,
|
||||||
|
showBadge: false,
|
||||||
|
enableVibration: false,
|
||||||
|
enableLights: false,
|
||||||
);
|
);
|
||||||
await flutterLocalNotificationsPlugin
|
await flutterLocalNotificationsPlugin
|
||||||
.resolvePlatformSpecificImplementation<AndroidFlutterLocalNotificationsPlugin>()
|
.resolvePlatformSpecificImplementation<AndroidFlutterLocalNotificationsPlugin>()
|
||||||
|
|
Loading…
Reference in a new issue