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
245 stars 182 forks source link

No implementation found for method sendSMS on channel flutter_sms #18

Closed kashifg4171 closed 3 years ago

rodydavis commented 4 years ago

Please provide more info. Flutter doctor and details about the project and platform running.

rodydavis commented 4 years ago

Fixed on 2.0.0

ChandraPrakashJangid commented 4 years ago

I am getting same issue.

rodydavis commented 4 years ago

What platform?

rodydavis commented 4 years ago

Just tested on iOS and works fine.

ChandraPrakashJangid commented 4 years ago

@rodydavis I am getting this on Android.

abhriyaroy commented 4 years ago

Just got the same issue on iOS

adarshbalu commented 4 years ago

Same issue here using android. The way of implementation shown on docs is

void _sendSMS(String message, List<String> recipents) async { String _result = await FlutterSms .sendSMS(message: message, recipients: recipents) .catchError((onError) { print(onError); }); print(_result); }

The FlutterSms shows an error , when I remove the FlutterSms the error is gone but the MissingPluginException is thrown.

gersonfa commented 4 years ago

I solved it running "flutter clean", "flutter build bundle".

rodydavis commented 3 years ago

fixed on version 2.3.1 reopen if it is still an issue

kanojia-gaurav commented 3 years ago

Same issue here using android. The way of implementation shown on docs is

void _sendSMS(String message, List<String> recipents) async { String _result = await FlutterSms .sendSMS(message: message, recipients: recipents) .catchError((onError) { print(onError); }); print(_result); }

The FlutterSms shows an error , when I remove the FlutterSms the error is gone but the MissingPluginException is thrown.

same issue bro

tjcode19 commented 3 years ago

Has this issue been solved please?

kanojia-gaurav commented 3 years ago

Has this issue been solved please?

Buddy use this instead of that

sms_maintained 0.2.5

use this package and it works same and easy to use.

JcGuerrero15 commented 3 years ago

Has this issue been solved please?

Buddy use this instead of that

sms_maintained 0.2.5

use this package and it works same and easy to use.

Same problem on iOS, can you help me? Works fine on Android but not on my iPhone

kanojia-gaurav commented 3 years ago

Has this issue been solved please?

Buddy use this instead of that sms_maintained 0.2.5 use this package and it works same and easy to use.

Same problem on iOS, can you help me? Works fine on Android but not on my iPhone

Bro i haven't used for iphone . another way is hard coding of java and kotlin U can create project in kotlin and it will work fine i think so as kotlin code is also available on the stackoverflow (https://stackoverflow.com/questions/48309062/flutter-send-sms-with-device-automatically?noredirect=1&lq=1). It will work fine for kotlin but for java it is giving me the error.

anuragsharma7 commented 2 years ago

Getting same issue

anuragsharma7 commented 2 years ago

sms_maintained 0.2.5

It only works in Android but not in iOS

wang305305 commented 7 months ago

Getting the same issue, it works on Android but not IOS.