Closed amilich closed 1 year ago
Looks a little similar to this: https://github.com/zo0r/react-native-push-notification/issues/1267#issuecomment-610517132
But that issue is still open
fixed this by defining the actions/categories in native. It then properly goes to my onNotification. I suspect something with registering categories in RN is not fully working.
Question
Hi! I've successfully added notification actions via
setNotificationCategories
, which is running outside any component right now. It's properly displaying the actions I want.However,
onNotification
is only running when I tap the notification itself, not select any of the actions. Does anyone know why this might be?I've tried moving
setNotificationCategories
around and usingPushNotificationIOS.addEventListener('notification', onNotification)
in lots of different places.