-1

How do i show a notification in my app when a child is added/modified in firebase database ? I am using android studio. I have seen a lot of answers to use FCM or GCM . But is there a way that i can use background service (which doesn't terminate on app termination) to check if there is a child is added/modified and create a local notification?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Ashish Kumar
  • 1
  • 1
  • 1

1 Answers1

0

You could Use google FCM data notification. check out the docs hereFirebase Cloud Messaging Docs

Adesuyi Ayodeji
  • 1,111
  • 1
  • 8
  • 15