From 24bab8ab5c0debe2b1593b62f288a7d74fc3d8df Mon Sep 17 00:00:00 2001 From: yogevbd Date: Mon, 10 Dec 2018 19:51:58 +0200 Subject: [PATCH] update docs --- docs/notificationsEvents.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/notificationsEvents.md b/docs/notificationsEvents.md index f024ce4..1a1c0b9 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()); -- 2.26.2