Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i send sms programmatically in react-native? [closed]

I'm new in react native. I want to add a component for sending SMS in my android application and i have tried several different components but every time i got some errors. Is anyone here done this successfully? please help me.

This is the last error I've got.

enter image description here

like image 307
themiremad Avatar asked Nov 19 '22 12:11

themiremad


1 Answers

I recommend this for sending SMS: https://github.com/anarchicknight/react-native-communications

As for the naming collision error, try doing rm -rf node_modules && npm i and then restarting the packager with a clear cache: npm start -- --reset-cache

If that doesn't work, make sure the version of react-native the SMS package matches the version in your package.

like image 117
Tucker Connelly Avatar answered Mar 15 '23 21:03

Tucker Connelly