onMessageOpenedApp method

  1. @override
void onMessageOpenedApp(
  1. Function onRecieve
)
override

Implementation

@override
void onMessageOpenedApp(Function onRecieve) {
  FirebaseMessaging.onMessageOpenedApp.listen((message) {
    onRecieve(message.notification!.title.toString(),
        message.notification!.body.toString());
    debugPrint("_messaging onMessageOpenedApp: ${message.notification!.body}");
  });
}