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 202 forks source link

Unable to send sms, currently not configured to sms error #65

Open devgeektech opened 2 years ago

devgeektech commented 2 years ago

PlatformException(device_not_capable, The current device is not capable of sending text messages., A device may be unable to send messages if it does not support messaging or if it is not currently configured to send messages. This only applies to the ability to send text messages via iMessage, SMS, and MMS., null)

I have even added the below code in Manifest-

<uses-permission android:name="android.permission.SEND_SMS" />
    <queries>
        <intent>
            <action android:name="android.intent.action.SENDTO" />
            <data android:scheme="smsto"/>
        </intent>
    </queries>
johnwargo commented 2 years ago

I had that problem as well, but I did a flutter clean and it started working.

davidpanic commented 1 year ago

This is still broken and a flutter clean doesn't fix it for me.