fluttercommunity / flutter_sms

A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. Maintainer: @rodydavis
https://fluttercommunity.github.io/flutter_sms/
MIT License
248 stars 201 forks source link

Add note about android intent to README #61

Open zbarbuto opened 2 years ago

zbarbuto commented 2 years ago

Some devices using newer versions of android were returning false for canSend even though they definitely could send SMS. Further, because sendSMS calls canSend internally, it effectively meant the plugin did not work.

Adding this intent to the AndroidManifest.xml for the app meant that canSend returned true as expected.

BRUHItsABunny commented 2 years ago

I ran into this problem as well, being able to read this somewhere in the documentation would have been nice.