Skip to content

Commit

Permalink
notification icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiya10 committed Sep 8, 2024
1 parent 7cafd42 commit d05530d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
<meta-data
android:name="flutterEmbedding"
android:value="2"/>
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_stat_name"/>
<meta-data android:name="com.exptech.dpip.default_notification_icon" android:resource="@drawable/ic_stat_name"/>
<service
android:name="id.flutter.flutter_background_service.BackgroundService"
android:foregroundServiceType="location"
Expand Down
2 changes: 1 addition & 1 deletion lib/core/notify.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:flutter/material.dart';

Future<void> notifyInit() async {
await AwesomeNotifications().initialize(
'resource://drawable/res_app_icon',
'resource://drawable/ic_stat_name',
[
NotificationChannel(
channelGroupKey: 'group_eew',
Expand Down

0 comments on commit d05530d

Please sign in to comment.