Clancey / simple_auth

The Simplest way to Authenticate in Flutter
MIT License
352 stars 107 forks source link

can´t login facebookApi #98

Open RodacK opened 5 years ago

RodacK commented 5 years ago

When I'm going to start the example to log in with Facebook, this error appears

E / flutter (30642): [ERROR: flutter / lib / ui / ui_dart_state.cc (148)] Unhandled Exception: PlatformException (error, Unsupported value: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase () 'on a null object reference, null)

and it seems that it comes from here

E / flutter (30642): # 4 AuthenticatedApi.authenticate (package: simple_auth / src / api / authenticatedApi.dart: 20: 54) E / flutter (30642): E / flutter (30642): # 5 _MyHomePageState.login (package: simple_auth_flutter_example / main.dart: 396: 31) E / flutter (30642):

and yes, I already added the clientID and the secret

csandovalgt commented 5 years ago

I'm having the same issue, did you solve this @RodacK ?