Update docusaurus/docs/Flutter/guides/adding_push_notifcations.mdx
This commit is contained in:
@@ -185,7 +185,7 @@ StreamChat(
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
As you can see we §generate a local notification whenever a message.new or notification.message_new event is received.
|
As you can see we generate a local notification whenever a message.new or notification.message_new event is received.
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
Using `flutter_local_notifications` is a great way to implement notifications while the is in foreground too! You can generate a local notification listening to events using the method `streamChatClient.on()` and react to the events you want.
|
Using `flutter_local_notifications` is a great way to implement notifications while the is in foreground too! You can generate a local notification listening to events using the method `streamChatClient.on()` and react to the events you want.
|
||||||
|
|||||||
Reference in New Issue
Block a user