Duplicate notification each reload as soon as addListener is called

I was looking into a problem with navigation when the app receives a notification. After adding a little debugging code, I see that I’m getting the same message every time the app reloads in development, on my Android phone.

This is all there is to our notification handler. Something I’m missing?

I’m on SDK 30.

Notifications.addListener(notification => {
              console.debug('Listener called with', notification);
              NavigationService.navigate(notification.data.routeName, notification.data.params);
              if (Platform.OS === 'android')

Thank you bro. That’s also my problem

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