Open chell5137 opened 1 year ago
모바일 기기 환경에서는 잘 작동합니다. 하지만 Chrome (web) 환경에서 실행했을 때 다음과 같은 에러 메시지가 송출되면서 아무 작동도 되지 않습니다.
Error: MissingPluginException(No implementation found for method logIn on channel flutter_naver_login) dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 266:49 throw packages/flutter/src/services/platform_channel.dart 294:7 _invokeMethod dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 dart-sdk/lib/async/zone.dart 1653:54 runUnary dart-sdk/lib/async/future_impl.dart 147:18 handleValue dart-sdk/lib/async/future_impl.dart 766:44 handleValueCallback dart-sdk/lib/async/future_impl.dart 795:13 _propagateToListeners dart-sdk/lib/async/future_impl.dart 566:5 [_completeWithValue] dart-sdk/lib/async/future_impl.dart 639: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 166:15
로그인 버튼을 눌렀을 때 final NaverLoginResult result = await FlutterNaverLogin.logIn(); 코드를 실행하는데 여기서 MissingPluginException 이 뜹니다.
js library 이용해서 별도로 처리하시면 됩니다
모바일 기기 환경에서는 잘 작동합니다. 하지만 Chrome (web) 환경에서 실행했을 때 다음과 같은 에러 메시지가 송출되면서 아무 작동도 되지 않습니다.
Error: MissingPluginException(No implementation found for method logIn on channel flutter_naver_login) dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 266:49 throw packages/flutter/src/services/platform_channel.dart 294:7 _invokeMethod dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1653:54 runUnary
dart-sdk/lib/async/future_impl.dart 147:18 handleValue
dart-sdk/lib/async/future_impl.dart 766:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 795:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 566:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 639: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 166:15
로그인 버튼을 눌렀을 때 final NaverLoginResult result = await FlutterNaverLogin.logIn(); 코드를 실행하는데 여기서 MissingPluginException 이 뜹니다.