I have both my web app and my android app included into my firebase project. Using the web app, the user can insert data into the realtime database. Using the android app, the user can view his record, which is read from the realtime database.
My javascript:
firebase.database().ref("db/0/").push(
{
"name":"XXXX",
"age":YY,
"address":"ABCDEF"
}
)
//I want to send a notification to the app, whenever a new data is pushed
I want to send a notification to the app, whenever a new data is pushed into the realtime database. How do I proceed?