Closed heejongahn closed 4 years ago
Hi @heejongahn
could you please provide your flutter run --verbose
?
Thank you
@iapicca Sure. Here it is. (The entire log is too big to fit in one comment, so I'll split into three comments)
Thank you @heejongahn
possible duplicate https://github.com/FirebaseExtended/flutterfire/issues/124
same issue here
Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en-US)
[β] Android toolchain - develop for Android devices (An
Looks like this is the same issue as #1223 but for the Auth plugin - we'll be looking at parsing native error messages & codes and bubbling these up to the Dart layer in a consistent cross-platform format.
Looks like this is the same issue as #1223 but for the Auth plugin - we'll be looking at parsing native error messages & codes and bubbling these up to the Dart layer in a consistent cross-platform format.
my 2 cents https://medium.com/free-code-camp/flutter-platform-channels-with-protobuf-e895e533dfb7
For me this error was because I was signing my debug app with my personal signing details, however, APN certificate was uploaded to firebase created on a different (my client's) signing account. So I added the client's account to my xcode, set to sign the app with it, and now I'm not getting this error anymore.
Hey π
Our rework of the firebase_auth
plugin as part of the FlutterFire roadmap was published over a week ago with a ton of fixes and new features. Please could you try the new version - auth error messages and codes were improved on a lot. If you have any further issues then please submit a new up to date GitHub issue.
For help migrating to the new plugins please see the new migration guide: https://firebase.flutter.dev/docs/migration
Describe the bug I tried to implement anonymous sign-in feature, such as:
and ended up with
await _auth.signInAnonymously();
throwing the error below. (note that it doesn't contain any useful error code, message etc.)After hours of debugging, I finally figured out that I haven't turned anonymous sign-in method on at Firebase console. Yes, it was a silly mistake but it would've been caught much much faster if the error message contained
ERROR_OPERATION_NOT_ALLOWED
, as documented.I believe this lack of information is not an intended behavior.
To Reproduce I'm not sure it's method-specific situation or just an general issue. In my case, it was caused when I tried to call
signInAnonymously
with the related setting off.Expected behavior Error message contains proper error code and message.
Additional context
flutter doctor -v
:pubspec.yaml
: