Skip to content

Commit ba9aab7

Browse files
committed
Android notification icons fix
1 parent 805b56e commit ba9aab7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
android:name="android.adservices.AD_SERVICES_CONFIG"
1414
android:resource="@xml/gma_ad_services_config"
1515
tools:replace="android:resource" />
16+
<meta-data
17+
android:name="com.google.firebase.messaging.default_notification_icon"
18+
android:resource="@drawable/ic_notification" />
1619

1720
<meta-data
1821
android:name="com.google.android.gms.ads.APPLICATION_ID"

lib/services/notification/local.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class LocalNotification {
2121

2222
LocalNotification.ins.initialize(
2323
initializationSettings,
24-
onDidReceiveBackgroundNotificationResponse: (details) {
25-
print("onDidReceiveBackgroundNotificationResponse, $details");
26-
},
24+
// onDidReceiveBackgroundNotificationResponse: (details) {
25+
// print("onDidReceiveBackgroundNotificationResponse, $details");
26+
// },
2727
onDidReceiveNotificationResponse: (response) {
2828
print("onDidReceiveNotificationResponse $response");
2929
},

0 commit comments

Comments
 (0)