Question · React Native course · Module 7: Notifications

shouldShowBanner

What does the shouldShowBanner option do in setNotificationHandler?

Answer options

  • Opens an Alert.alert() dialog in the app
  • Decides whether to show the notification banner when the app is active
  • Enables the alert sound
  • Sets the alert priority

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