From 38255d4fdbc66eb38247ac916c758279f61710bb Mon Sep 17 00:00:00 2001 From: yogevbd Date: Sun, 7 Jul 2019 19:50:36 +0300 Subject: [PATCH] Clean logs --- example/index.ios.js | 1 - test/index.android.spec.js | 1 - 2 files changed, 2 deletions(-) diff --git a/example/index.ios.js b/example/index.ios.js index e797c3c..7115e16 100644 --- a/example/index.ios.js +++ b/example/index.ios.js @@ -61,7 +61,6 @@ class NotificationsExampleApp extends Component { } onNotificationReceivedForeground(notification) { - alert(JSON.stringify(notification)); console.log('Notification Received Foreground: ' + JSON.stringify(notification)); this.setState({ notifications: [...this.state.notifications, notification] diff --git a/test/index.android.spec.js b/test/index.android.spec.js index 618502f..77af60f 100644 --- a/test/index.android.spec.js +++ b/test/index.android.spec.js @@ -35,7 +35,6 @@ describe('Notifications-Android', () => { it('should assign callback to native event upon listener registration', () => { expect(deviceEventEmitterListenerStub).toHaveBeenCalledTimes(0); const userListener = () => {}; - console.log(libUnderTest); libUnderTest.NotificationsAndroid.setRegistrationTokenUpdateListener(userListener); expect(deviceEventEmitterListenerStub).toHaveBeenCalledWith('remoteNotificationsRegistered', userListener); -- 2.26.2