handleReceivedMessage static method
This handleReceivedMessage used to get ChatMessage from FCM Notification Android Only
to Show Notification using FCM 'remoteMessage.data' as notificationData
for iOS Need to add Notification Extension Service
add this line in your extension service MirrorFlyNotification().handleNotification(notificationRequest: request, contentHandler: contentHandler, containerID: "xxx", licenseKey: "xxxx")
Implementation
static Future<dynamic> handleReceivedMessage(Map notificationData) {
return FlyChatFlutterPlatform.instance.handleReceivedMessage(notificationData);
}