Question · React Native course · Module 7: Notifications

addNotificationReceivedListener

When is addNotificationReceivedListener called?

Answer options

  • Only when the app is closed
  • When a notification is received (app in foreground)
  • On every click
  • When sending a notification

You can check the correct answer by solving this task in the CodeWorlds game.