Closed yukitaka13-1110 closed 3 years ago
I want to receive push notification in provider.
I can use the onNotification callback to receive it in the provider, but it's inconvenient to have to use the widget.
Is it possible to receive push notification directory in provider?
3.0.9 FCMConfig.instance.listenClick(_onClick) // to listen notification click FirebaseMessaging.onMessage.listen(_onNewNotify) // to listen incomming notification
FCMConfig.instance.listenClick(_onClick)
FirebaseMessaging.onMessage.listen(_onNewNotify)
I want to receive push notification in provider.
I can use the onNotification callback to receive it in the provider, but it's inconvenient to have to use the widget.
Is it possible to receive push notification directory in provider?