flutter-firebase-registration-ui icon indicating copy to clipboard operation
flutter-firebase-registration-ui copied to clipboard

Unhandled Exception: type 'NoSuchMethodError' is not a subtype of type 'PlatformException'

Open apos37 opened this issue 5 years ago • 0 comments

I'm getting an error when signing up and trying to login: Unhandled Exception: type 'NoSuchMethodError' is not a subtype of type 'PlatformException'

On registration: _RegisterPageState.build.<anonymous closure>.<anonymous closure> (package:chronicillnessapp/register_page.dart:215:42)

On login: _LoginPageState.build.<anonymous closure>.<anonymous closure> (package:myapp/login_page.dart:92:54)

Even though I got the error message on signup, the new user is added to my Firebase authentication, and the UID is recognized when trying to login, too. I'm just not sure how to resolve the issue with the platform exception. Any suggestions?

apos37 avatar May 19 '20 18:05 apos37