mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-28 22:39:50 +00:00
3.6.8
- Bugs fixed.
This commit is contained in:
parent
855f6c731b
commit
8891435304
6 changed files with 28 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue