Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

programmatically mark notification opened #114

Closed Blerr511 closed 3 years ago

Blerr511 commented 3 years ago

how can I programmatically mark notification opened

wfhm commented 3 years ago

@Blerr511,

Could you please describe your use-case in a bit more detail? Do you want to mark a notification as opened in your inbox, or do you want to automatically open a received notification to remove it from the notification center and handle its payload? It would be really helpful if you could provide as many details as possible so we could suggest you the best solution.

Blerr511 commented 3 years ago

@wfhm I need to store my push notifications into inbox , but when I refresh app - every time I'm getting last notification and it's adding into inbox every time , how I can prevent that ? I'm using TV os and there is no way to manually remove notification from notification bar or click on it to open

Blerr511 commented 3 years ago

Nevermind , problem was only when I reload app from dev menu , when I stop application and run again there is no problem