Firebase Database - Event-based notifications

Asked

Viewed 403 times

1

I have a project that needs to send notifications when certain data is added to Firebase. I did a lot of web searches, but I couldn’t find a way to implement this notification.

I saw in the documentation Firebase that is possible to do, and on other sites that this was implemented about a month ago (but I haven’t checked if it’s true yet).

Can anyone help me with an example, or with logic? Note: The application is being developed in Android Studio 2.3...

  • 3

    Will this notification be automatic when entering some data, or you longer keep an Activity open, like a chat? If the choice is the first, you can use Firebase’s Cloud Functions to listen to database events and notify. If it is the second, you can use firebase database listeners to modify the UI as needed.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.