Change large icon for notification on android

This commit is contained in:
dab246
2022-12-05 14:29:51 +07:00
committed by Dat H. Pham
parent eba4882c67
commit e45afae82e
13 changed files with 4 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="@drawable/*" />
@@ -47,7 +47,7 @@ class LocalNotificationConfig {
styleInformation: styleInformation,
channelShowBadge: true,
showWhen: true,
largeIcon: const DrawableResourceAndroidBitmap('@mipmap/ic_large_notification')
largeIcon: const DrawableResourceAndroidBitmap('ic_large_notification')
),
iOS: const DarwinNotificationDetails(
presentSound: true,