CloudKit/Firebase: 是否可以在记录发生变化时不仅发送推送还发送邮件?
CloudKit/Firebase: is it possible to send not only push when a record changes but also mail?
在我的应用程序中,我确实需要在设备之间 synchronization/communication,因此我需要一个服务器端数据库。每当某些特殊记录发生变化时,我需要发送推送通知and/or 一封电子邮件。
这是一个仅 iOS 的应用程序,所以 Cloudkit 没问题,但我不认为可以发送电子邮件。与 Firebase 相同。我是不是忽略了什么,或者是否有非常相似的替代方案可以同时发送推送和邮件?
自 2017 年 3 月以来,integration between Google Cloud Functions and Firebase. This allows you to run JavaScript code on Google's servers in response to events that happen in Firebase. A node being written to the database is one such event, but there are many more use-cases。
您的用例似乎最接近 this sample,它会在用户订阅一些虚构的时事通讯时发送一封欢迎电子邮件。
在我的应用程序中,我确实需要在设备之间 synchronization/communication,因此我需要一个服务器端数据库。每当某些特殊记录发生变化时,我需要发送推送通知and/or 一封电子邮件。
这是一个仅 iOS 的应用程序,所以 Cloudkit 没问题,但我不认为可以发送电子邮件。与 Firebase 相同。我是不是忽略了什么,或者是否有非常相似的替代方案可以同时发送推送和邮件?
自 2017 年 3 月以来,integration between Google Cloud Functions and Firebase. This allows you to run JavaScript code on Google's servers in response to events that happen in Firebase. A node being written to the database is one such event, but there are many more use-cases。
您的用例似乎最接近 this sample,它会在用户订阅一些虚构的时事通讯时发送一封欢迎电子邮件。