diff --git a/example/index.ios.js b/example/index.ios.js index e797c3c83306ed3e5bb3c7fb5e4cd83fbc1e5a49..7115e16028d2dd6a9920c014340ac9e934c000d6 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 618502f3fbcf940a36be92f6bc75516d890a5f47..77af60fe096f8205987ebe97985d33d5ab31a7e7 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);