android - Facebook login breaks when Facebook app is installed -
I am creating an Android app that allows a user to log in with their Facebook account. I followed the official tutorial and it worked perfectly. Unless I have installed the Facebook app on my phone when I try to log in and I press the "Login in Facebook" button, I get a screen switch for half a second, and then I will launch my launch I come back to the screen where I was before.
If the app works again, I believe that the app is injected, but I do not know how to handle it, I did not find anyone with my problem.
I follow the official tutorial step by step, I have a main activity, a button piece usually, if you click on the button, the Facebook login screen pops up and you have your own Can enter credentials.
How does anyone handle this?
Do you add an application package and hash to the Android Facebook app on developers.facebook.com? If you use the SDK UI, then not installed the Facebook app - has not been tested.
Comments
Post a Comment