Skip to content

Commit

Permalink
Clear push notifications inside the redirectToSignIn function (manual…
Browse files Browse the repository at this point in the history
… logout)
  • Loading branch information
HorusGoul committed Jul 21, 2021
1 parent 324f4f6 commit 02e50f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/SignInRedirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Onyx.connect({
function redirectToSignIn(errorMessage) {
UnreadIndicatorUpdater.stopListeningForReportChanges();
PushNotification.deregister();
PushNotification.clearNotifications();
Pusher.disconnect();
Timers.clearAll();

Expand Down

0 comments on commit 02e50f8

Please sign in to comment.