Closed rierajf closed 5 months ago
Thanks, @rierajf will look into the issue.
Fixed in #41
The parameter messagingServiceSid is not know anymore now. This parameter replaces the twilioNumber.
The problem is not solved at all.
Thanks for your help
Hi @rierajf, there has been an update to the service. Please refer to the README.
final TwilioMessagingService twilioMessagingService = TwilioMessagingService(
accountSid: '', // replace with Account SID
authToken: '', // replace with Auth Token
messagingServiceSid: '' // replace with messaging service sid from twilio console
);
The README will be updated soon with some more updates.
Hi, Beautiful work ! I can send SMS, it's great !! Thanks. Although, use of messagingServiceSid doesn't seem to work. I received a SMS from the phone number (short) but not from the messagingService I configured in my Twilio console :-/
Normally, twilioNumber is not mandatory if we use messagingServiceSid :
curl 'https://api.twilio.com/2010-04-01/Accounts/[MyAccountSID]/Messages.json' -X POST \ --data-urlencode 'To=+33xxxxxxx' \ --data-urlencode 'MessagingServiceSid=[MyMessagingServiceId]' \ --data-urlencode 'Body=test' \ -u [MyAccountSID]:[AuthToken]
Thanks for your help JF