simple_auth icon indicating copy to clipboard operation
simple_auth copied to clipboard

Facebook: Failed assertion: boolean expression must not be null

Open PatrickJongmans opened this issue 5 years ago • 4 comments

Everything is going well with the Facebook auth, only on return I get the message: Failed assertion: boolean expression must not be null

I added the git version as well:

simple_auth_flutter: git: url: https://github.com/Clancey/simple_auth.git path: simple_auth_flutter

But the results stay the same. Any ideas?

PatrickJongmans avatar Jul 04 '19 15:07 PatrickJongmans

@PatrickJongmans, hello man, have you solved this issue?

viplike avatar Jan 25 '20 17:01 viplike

I've found the issue:

class FacebookApi extends OAuthApi { static bool isUsingNative; // should be => static bool isUsingNative = true;

viplike avatar Jan 25 '20 17:01 viplike

@viplike Hey! I tried this but it's still showing the same error. Also, this trial was on the example app which isn't working. Is Facebook auth working for you?

vedangdate avatar Jun 20 '20 04:06 vedangdate

@viplike Hey! I tried this but it's still showing the same error. Also, this trial was on the example app which isn't working. Is Facebook auth working for you?

hello, I've refused this extension and made auth process via website using flutterWebViewPlugin, both for: facebook, google, linkedin. And if you want to deploy the app to the app store (ios), then you need also to make apple sign in integration.

viplike avatar Jun 20 '20 17:06 viplike