Skip to content

HackersYacht/firebase-notifications-example

Repository files navigation

a react native app with firebase notifications

The steps

  • Retrieve the firebase messaging token for the app: you will send a notification using it
  • Listener to an incoming notification
  • Display the notification
  • Listen to the displayed notification(if the user clicks on it, maybe do something)

To test

  • Head to firebase cloud messaging:
  • Enable Remote JS debugging in your simulator or device
  • Copy the token from the browser console and send the test message using it.