- Bugs fixed.
This commit is contained in:
An Bui 2026-01-12 19:43:45 +07:00
parent 855f6c731b
commit 8891435304
6 changed files with 28 additions and 22 deletions

View file

@ -16,6 +16,7 @@ public class FCMService
if (message.getNotification() != null) {
String title = message.getNotification().getTitle();
String body = message.getNotification().getBody();
String image = message.getNotification().getImageUrl() != null ? message.getNotification().getImageUrl().toString() : null;
Map<String, String> data = message.getData();
@ -24,8 +25,8 @@ public class FCMService
NotificationUtils.generalChannelId,
title,
body,
R.drawable.ic_vectras_vm_48 ,
data.get("largeImage") ,
R.drawable.ic_vectras_vm_48,
image,
-1,
data.get("url"),
null);