tkporter/react-native-sms

body repeats

Opened this issue · 3 comments

I've got the module working great, but no matter what body I put in (the default, blank spaces, the word TEST, etc), it always gets put in twice when pre-filling the message.

<Button title="Text" onPress={() => SendSMS.send({
                    body: 'TEST',
                    recipients: [this.props.number],
                    successTypes: ['sent', 'queued']
                }, (completed, cancelled, error) => {             
                    console.log('SMS Callback: completed: ' + completed + ' cancelled: ' + cancelled + 'error: ' + error);
                })} />

What device/OS version are you finding this issue with? Or is it all devices?

I'm seeing it with Android. Specifically a Samsung S8. My default SMS app is Textra.

muZk commented

Nevermind. I don't think the problem is this library.

I got a repeated message but using "true caller" SMS service. When switching to the default android app or fb messenger app to send the SMS it does not get repeated.