showtime
showtime

Reputation: 1462

Send SMS using Twilio in React-Native

I have been researching for many days on how to send sms using Twilio in React-Native. I haven't found a single example that works! I thought this should be simple but apparently not. Any suggestions?

Upvotes: 0

Views: 668

Answers (1)

philnash
philnash

Reputation: 73029

Twilio developer evangelist here.

While not ReactNative, I wrote a post about how to send SMS messages in React. The idea for ReactNative will be the same though. You don't want to make requests to the Twilio API directly from your application, you'd need to store your credentials in the app somehow and a malicious user could decompile it and abuse your account.

Instead you want to build a server application that sends the messages and make requests to that from your ReactNative application.

Let me know if that helps at all.

Upvotes: 1

Related Questions