diff --git a/android/app/src/main/res/drawable-hdpi/notifications_icon.png b/android/app/src/main/res/drawable-hdpi/notifications_icon.png index 5ba483c..741e4e0 100644 Binary files a/android/app/src/main/res/drawable-hdpi/notifications_icon.png and b/android/app/src/main/res/drawable-hdpi/notifications_icon.png differ diff --git a/android/app/src/main/res/drawable-hdpi/splash.png b/android/app/src/main/res/drawable-hdpi/splash.png index 9657133..0188d2a 100644 Binary files a/android/app/src/main/res/drawable-hdpi/splash.png and b/android/app/src/main/res/drawable-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-mdpi/notifications_icon.png b/android/app/src/main/res/drawable-mdpi/notifications_icon.png index 8b0f8d6..11b0cbd 100644 Binary files a/android/app/src/main/res/drawable-mdpi/notifications_icon.png and b/android/app/src/main/res/drawable-mdpi/notifications_icon.png differ diff --git a/android/app/src/main/res/drawable-mdpi/splash.png b/android/app/src/main/res/drawable-mdpi/splash.png index f4c0bdb..b9ea1c6 100644 Binary files a/android/app/src/main/res/drawable-mdpi/splash.png and b/android/app/src/main/res/drawable-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-xhdpi/notifications_icon.png b/android/app/src/main/res/drawable-xhdpi/notifications_icon.png index 2f1f78c..a0b52df 100644 Binary files a/android/app/src/main/res/drawable-xhdpi/notifications_icon.png and b/android/app/src/main/res/drawable-xhdpi/notifications_icon.png differ diff --git a/android/app/src/main/res/drawable-xhdpi/splash.png b/android/app/src/main/res/drawable-xhdpi/splash.png index dafa3b7..65f6f11 100644 Binary files a/android/app/src/main/res/drawable-xhdpi/splash.png and b/android/app/src/main/res/drawable-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/notifications_icon.png b/android/app/src/main/res/drawable-xxhdpi/notifications_icon.png index 7a3b488..ed9c58d 100644 Binary files a/android/app/src/main/res/drawable-xxhdpi/notifications_icon.png and b/android/app/src/main/res/drawable-xxhdpi/notifications_icon.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/splash.png b/android/app/src/main/res/drawable-xxhdpi/splash.png index b627f52..b658f56 100644 Binary files a/android/app/src/main/res/drawable-xxhdpi/splash.png and b/android/app/src/main/res/drawable-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/notifications_icon.png b/android/app/src/main/res/drawable-xxxhdpi/notifications_icon.png index 87a29b6..ca44e91 100644 Binary files a/android/app/src/main/res/drawable-xxxhdpi/notifications_icon.png and b/android/app/src/main/res/drawable-xxxhdpi/notifications_icon.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/splash.png b/android/app/src/main/res/drawable-xxxhdpi/splash.png index 0d1d2a7..ce36932 100644 Binary files a/android/app/src/main/res/drawable-xxxhdpi/splash.png and b/android/app/src/main/res/drawable-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/android/app/src/main/res/drawable/ic_launcher_foreground.xml deleted file mode 100644 index 11845a7..0000000 --- a/android/app/src/main/res/drawable/ic_launcher_foreground.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - diff --git a/android/app/src/main/res/drawable/ic_launcher_monochrome.xml b/android/app/src/main/res/drawable/ic_launcher_monochrome.xml deleted file mode 100644 index f0b10e7..0000000 --- a/android/app/src/main/res/drawable/ic_launcher_monochrome.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/lib/config/app_config.dart b/lib/config/app_config.dart index 4de2492..97538d4 100644 --- a/lib/config/app_config.dart +++ b/lib/config/app_config.dart @@ -17,7 +17,7 @@ abstract class AppConfig { static const String inviteLinkPrefix = 'https://matrix.to/#/'; static const String deepLinkPrefix = 'im.tatuchat://chat/'; static const String schemePrefix = 'matrix:'; - static const String pushNotificationsChannelId = 'tatuchat_push'; + static const String pushNotificationsChannelId = 'tatuchat_push_v2'; static const String pushNotificationsAppId = 'chat.fluffy.tatuchat'; static const double borderRadius = 18.0; static const double spaceBorderRadius = 11.0; diff --git a/lib/utils/start_push_foreground_service.dart b/lib/utils/start_push_foreground_service.dart index aa5972b..a3a6a7d 100644 --- a/lib/utils/start_push_foreground_service.dart +++ b/lib/utils/start_push_foreground_service.dart @@ -68,9 +68,11 @@ abstract class ForegroundServices { } final result = await FlutterForegroundTask.startService( serviceTypes: [ForegroundServiceTypes.shortService], - notificationTitle: 'FluffyChat', + notificationTitle: 'TatuChat', notificationText: l10n.loadingMessages, - notificationIcon: NotificationIcon(metaDataName: 'ic_launcher'), + notificationIcon: NotificationIcon( + metaDataName: 'notifications_icon', + ), ); final started = result is ServiceRequestSuccess; Logs().d('[PushHelper] Foreground service start: $started ($result)');