Firebase chat notifications via PHP to SMS + EMAIL -
we have firebase chat application (check chat example or tutorial) have same copy our.
we sent email notification or sms message, if user hasn't seen chat message yet.
we can connect firebase database php , check messages, if seen or not. it's not proper way of doing it.
does have idea how can implement that, can track of messages , if haven't seen it, sent email / sms notification based on user preference?
i want know how can firebase. if php , mysql. easy this.
not sure if can done efficiently in firebase. have setup cron job fetch messages not seen , trigger sms/email fallback.
i recommend using applozic (https://www.applozic.com) chat related stuff , firebase storing user meta data , other data. applozic provides single click configuration enable webhook/sms/email fallback, along whatsapp chat features along full ui no need write additional code.
Comments
Post a Comment