I want my firebase to send a text message to my app (which is coded in flutter). Can the firebase send SMS using the server?
You can use the Twilio third-party service in a Cloud Function.
Have a look at these docs:
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 (which shows how to integrate Twilio in a Cloud Function)
The Firebase Cloud Functions documentation is here: https://firebase.google.com/docs/functions/
Note that you will have to subscribe to a Blaze or Flame plan, because "the Spark plan allows outbound network requests only to Google-owned services". Check https://firebase.google.com/pricing/ and hover over the question mark next to Cloud Functions for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With