receiveNotificationClosed static method

Future<void> receiveNotificationClosed()

Implementation

static Future<void> receiveNotificationClosed() async {
  RemoteMessage? remoteMessage = await _firebaseMessaging.getInitialMessage();
  if (remoteMessage != null) {
    InngageNotification.openCommonNotification(
        data: remoteMessage.data,
        appToken: InngageProperties.appToken,
        inBack: true);
    firebaseListenCallback(remoteMessage);
  }
}