[PushNotifications][Solved] Reject notifications on specific screens


#1

Hello,

I am implementing push notifications in my chat application. Push notifications are awesome and are working very fine but I have this problem: In my chat screen (one of the most important) I don’t wanna receive push notifications because this is redundant, how can I reject them in that case? I am using react navigation and the event listener is working fine. It’s added in App.js

https://docs.expo.io/versions/latest/guides/push-notifications.html#3-handle-receiving-andor-selecting-the-notification

As always, thanks in advance


#2

Expo doesn’t support silent pushes, here is a canny request to add it. plz vote <333 https://expo.canny.io/feature-requests/p/silent-push-notifications :grin:


#3

@bacon Oh, understood, thanks!


#4

@bacon Do you know some workaround? Thanks


#5

unfortunately there isn’t one :frowning: as far as I know


closed #6

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.