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
241 stars 176 forks source link

[web] not running with Flutter 3.10.0 #80

Open aytunch opened 1 year ago

aytunch commented 1 year ago

When I try to run my app using the latest flutter, it fails with the below error. The only thing I see is flutter_sms. This might be something else but putting this out here so others can contribute if they are facing same issue.

If you think this issue is not related to this plugin, let me know and I can close this issue.

Screenshot 2023-05-12 at 01 53 06
JoshJuncker commented 1 year ago

I get the exact same issue. Unexpected null value when it calls registerWith for flutter_sms_web @aytunch The fix is in master, so for now you can have your pubspec.yaml point to GitHub. That is working for me anyways.

flutter_sms: # 2.3.3 # issue with latest flutter release. Crashes on plugin registration before main gets called.
    git:
      url: https://github.com/fluttercommunity/flutter_sms
ARASHz4 commented 1 year ago

Please publish new version in pub dev

mi1971 commented 1 year ago

Hi, is anything happening with this? I can't use either since Flutter 3.10