我希望我的Firebase向我的应用程序发送一条文本消息(以flutter编码)。 Firebase可以使用服务器发送短信吗?
谢谢
答案 0 :(得分:0)
您可以在Cloud Function中使用Twilio第三方服务。
看看这些文档:
https://cloud.google.com/appengine/docs/flexible/nodejs/using-sms-and-voice-services-via-twilio
https://cloud.google.com/community/tutorials/cloud-functions-twilio-sms(显示如何将Twilio集成到云功能中)
Firebase Cloud Functions文档在这里:https://firebase.google.com/docs/functions/
请注意,您将必须订阅Blaze或Flame计划,因为“ Spark计划仅允许对Google拥有的服务进行出站网络请求”。选中https://firebase.google.com/pricing/,然后将鼠标悬停在Cloud Functions旁边的问号上以了解更多详细信息。