diff --git a/docs/notificationsEvents.md b/docs/notificationsEvents.md index f024ce4b9845f335ed45fb61b28572e152073162..1a1c0b975ba15bcfa0714c2d9b05c66e77b30a3b 100644 --- a/docs/notificationsEvents.md +++ b/docs/notificationsEvents.md @@ -70,10 +70,10 @@ import {NotificationsAndroid} from 'react-native-notifications'; // On Android, we allow for only one (global) listener per each event type. NotificationsAndroid.setNotificationReceivedListener((notification) => { - console.log("Notification received on device", notification.getData()); + console.log("Notification received on device in background or foreground", notification.getData()); }); NotificationsAndroid.setNotificationReceivedInForegroundListener((notification) => { - console.log("Notification received on device", notification.getData()); + console.log("Notification received on device in foreground", notification.getData()); }); NotificationsAndroid.setNotificationOpenedListener((notification) => { console.log("Notification opened by device user", notification.getData());