getBackgroundNotificationString method

Future<String?> getBackgroundNotificationString()

Checks if anynotifications were processed by Apphud in the background state and returns data in String.

Make sure to add SwiftApphudPlusPlugin.handleBackgroundNotifications to AppDelegate.swift (check README)

Implementation

Future<String?> getBackgroundNotificationString() async {
  return ApphudPlusPlatform.instance.getBackgroundNotificationPayloadRaw();
}