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
Enabling Express Login #27
Conversation
Hey! Sorry for the late answer. I'm pretty busy right now, but I'll take a look. |
@greymag had the chance to take a look? |
We are using in a 10M MAU in production and everything is great with no errors being reported. |
Hey! I apologize for that delay, I'll merge your PR by the end of the week |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Thanks for the PR, it's great. Can you please make a few small changes and I will merge it.
android/src/main/java/ru/innim/flutter_login_facebook/MethodCallHandler.java
Outdated
Show resolved
Hide resolved
@greymag applied changes |
Description of changes:
This is a non-breaking change.
Just giving developers the chance to authenticate the user automatically if user already was logged into the app.
Just call
FacebookLogin().expressLogin()
and it will return aFacebookLoginResult
just like it does when user clicks the button.Android only for now (It depends on Facebook's iOS SDK), on iOS i've made it so it always returns "cancel" instead of "error" or "not implemented" but IMHO Users should have a logic inside their app to use it only on Android.
Documentation:
https://developers.facebook.com/docs/facebook-login/android/#expresslogin