问题
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?
回答1:
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
回答2:
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.
回答3:
Till Now there is no way to send sms with firebase only. what is now available is, can send sms for phone no authentication. https://firebase.google.com/docs/auth/android/phone-auth
I think firebase will release this feature soon , because it is becoming a common need for android deveopers.
回答4:
Only the OTP ( SMS ) verification in firebase , you cannot send normal sms ,for that you need to use third party libraries
来源:https://stackoverflow.com/questions/44361815/can-i-use-firebase-for-sending-sms-to-users-without-using-twilio