25-12-1/1
This commit is contained in:
@@ -114,7 +114,7 @@ class AI extends GetxController {
|
||||
// 'tone2', // Type of notification
|
||||
// );
|
||||
NotificationService.sendNotification(
|
||||
target: jsonDecode(res)['message'][0]['token'].toString(),
|
||||
target: (res)['message'][0]['token'].toString(),
|
||||
title: 'You have received a gift token!'.tr,
|
||||
body: 'for '.tr + box.read(BoxName.phoneDriver).toString(),
|
||||
isTopic: false, // Important: this is a token
|
||||
|
||||
Reference in New Issue
Block a user