Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Firebase for sending SMS to users without using Twilio?

I used to use Firebase + Twilio to send SMS to any devices, but I'm not sure that I can send SMS by using Firebase only or not?

Does Firebase have an API for sending SMS?

like image 782
Nuttawut Anek Avatar asked Jun 05 '17 04:06

Nuttawut Anek


People also ask

Can I send SMS using Firebase?

The Firebase console provides analytics-based A/B testing to help refine and improve marketing messages. After you have developed logic in your app to receive messages, you can allow non-technical users to send messages per the instructions in the Notifications page in the Firebase Help Center.

Can you use twilio to send SMS?

Using Twilio's REST API, you can send outgoing SMS messages from your Twilio phone number to mobile phones around the globe.

What is Twilio SMS API?

Twilio's SMS API helps you send and manage messages programmatically: To send an outbound SMS, WhatsApp, or Channels message with the API, POST to the Message resource. You'll also use the Message resource to fetch messages and list messages associated with your account.


2 Answers

There is no built-in API for sending SMS through Firebase. You will have to use a third-party service (such as you're currently doing with Twilio) to send SMS messages.

like image 42
Frank van Puffelen Avatar answered Sep 28 '22 09:09

Frank van Puffelen


You can send SMS Verification using Firebase and you cannot send ordinary SMS through Firebase. You can send using Twilio instead.

Even for SMS verification, you have to wait until they release the API docs for SMS verification through Android. https://firebase.google.com/docs/auth/android/phone-auth

like image 122
Hemanth Subbiah Avatar answered Sep 28 '22 08:09

Hemanth Subbiah