configure abstract method

void configure({
  1. MessageHandler? onMessage,
  2. MessageHandler? onLaunch,
  3. MessageHandler? onResume,
  4. MessageHandler? onBackgroundMessage,
})

Configures callbacks for supported message situations. It should be called as soon as app is launch or you won't get the onLaunch callback

Implementation

void configure({
  /// iOS only: return true to display notification while app is in foreground
  MessageHandler? onMessage,
  MessageHandler? onLaunch,
  MessageHandler? onResume,
  MessageHandler? onBackgroundMessage,
});