Flutter Web Dev с аутентификацией Firebase: MissingPluginException - PullRequest
1 голос
/ 07 августа 2020

Я разрабатываю веб-сайт Flutter с аутентификацией firebase. Я следил за документами на firebase.com, и когда я запускаю проект, я получаю сообщение об ошибке:

Overflow on channel: plugins.flutter.io/firebase_auth.  Messages on this channel are being discarded in FIFO fashion.  The engine may not be running or you need to adjust the buffer size if of the channel.
theres an error
MissingPluginException(No implementation found for method signInAnonymously on channel plugins.flutter.io/firebase_auth)

это доктор трепетания:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.20.0-7.3.pre, on Microsoft Windows [Version 10.0.18363.959], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 3.6)
[√] VS Code, 64-bit edition (version 1.47.3)
[√] Connected device (3 available)
• No issues found!

Я добавил соответствующие зависимости в pubspe c .yaml и добавил соответствующие скрипты в файл index. html и по-прежнему получаю эту ошибку.

#firebase dependencies
firebase_core: ^0.4.0+9
firebase_auth: ^0.14.0+5
cloud_firestore: ^0.12.9+5

1 Ответ

0 голосов
/ 11 августа 2020

Я скопировал папку lib в новый проект flutter, и проблема устранилась. Спасибо за помощь!

...