Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad state: Future already completed - Google Sign In on Mac #168

Open
lmajano07 opened this issue Nov 12, 2021 · 0 comments
Open

Bad state: Future already completed - Google Sign In on Mac #168

lmajano07 opened this issue Nov 12, 2021 · 0 comments

Comments

@lmajano07
Copy link

Hello,
Using the latest version of the package.
Getting this output when google signing in on Mac, login is successful and no awaits are missing

Authenticator created
presenting the authenticator
flutter: Bad state: Future already completed
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Bad state: Future already completed
#0      _Completer.completeError (dart:async/future_impl.dart:24:31)
#1      Authenticator.onError
#2      SimpleAuthFlutter.init.<anonymous closure>        package:simple_auth/…/api/authenticator.dart:38
#3      _rootRunUnary (dart:async/zone.dart:1436:47)      package:simple_auth_flutter/simple_auth_flutter.dart:77
#4      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#5      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#8      _ForwardingStreamSubscription._add (dart:async/stream_pipe.dart:123:11)
#9      _MapStream._handleData (dart:async/stream_pipe.dart:218:10)
#10     _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:153:13)
#11     _rootRunUnary (dart:async/zone.dart:1436:47)
#12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#14     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#15     _DelayedData.perform (dart:async/stream_impl.dart:591:14)
#16     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11)
#17     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:663:7)
#18     _rootRun (dart:async/zone.dart:1420:47)
#19     _CustomZone.run (dart:async/zone.dart:1328:19)
#20     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276:23)
#22     _rootRun (dart:async/zone.dart:1428:13)
#23     _CustomZone.run (dart:async/zone.dart:1328:19)
#24     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#25     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276:23)
#26     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#27     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant