checkLaunchNotification static method

Future<void> checkLaunchNotification()

Checks the launch notification and sends analytics data to MBurger if a notification has launched the app.

Implementation

static Future<void> checkLaunchNotification() async {
  Map<String, dynamic>? launchNotification =
      await MBPush.launchNotification();
  if (launchNotification != null) {
    notificationTapped(launchNotification);
  }
}