mbaas - implement push notification in firebase with batch -
i trying make firebase
, batch
work can fire push notification when in firebase
db got changed. followed tutorial , want make them work automatically , contacted batch
's , replied me
write own server-side code 1. detect firebase db changes 2. call batch api.
for "detect firebase db changes" have create server-side code track changes , call batch
's api
accordingly. then follow documentation attaching changed content , send appropriate user.
i don't know how create server side code. can give me quick instructions on or there's tutorial related this?
to write server-side firebase code can use node.js sdk. see https://www.firebase.com/docs/web/quickstart.html (search page node.js).
the api same regular web api except you'll writing node.js application can run on server. can integrate batch's api.
Comments
Post a Comment