/firebase-notifications-example

A react native app with notifications

Primary LanguageJavaScript

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.