jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
281 stars 173 forks source link

Flutter web has error log #204

Closed kiaxseventh closed 3 weeks ago

kiaxseventh commented 10 months ago

hello dear @jaumard SMS autofill works very well on Android devices, but in the web version, it shows these logs: I don't want it to autofill on the web version. I just want it to work manually. It works manually without any problem, but it shows this error. Can you limit the platform channel to only Android and iOS, please?

Error: MissingPluginException(No implementation found for method listenForCode on channel sms_autofill)
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49  throw_
packages/flutter/src/services/platform_channel.dart 308:7                     _invokeMethod
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50            <fn>
dart-sdk/lib/async/zone.dart 1661:54                                          runUnary
dart-sdk/lib/async/future_impl.dart 147:18                                    handleValue
dart-sdk/lib/async/future_impl.dart 784:44                                    handleValueCallback
dart-sdk/lib/async/future_impl.dart 813:13                                    _propagateToListeners
dart-sdk/lib/async/future_impl.dart 584:5                                     [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 657:7                                     callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                              _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                               _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 177:15    
jaumard commented 3 weeks ago

Should be ok on master branch. will do a release later