tkporter/react-native-sms

Doesn't work on iOS

avlonder opened this issue · 3 comments

on iOS 14.4 (in simulator), the following code prints "true":

SendSMS.send({
  body: 'blabla',
  recipients: ['+32478111111'],
  successTypes: [],
  allowAndroidSendWithoutReadPermission: true
}, (completed, canceled, error) => console.log(error));

same issue here - console.log(error)); error is printing true. Is this package not work with ios simulator, because same code work fine on android real device :)

Yeah, this is unfortunately a limitation of the simulator-- see https://stackoverflow.com/questions/9012393/testing-sms-in-the-ios-simulator

+3247

not even working on real device
i tried adding recipients with country code, without country code, zero instead of country code
it says sms sending failed