0
I’m developing an Android app, with Android Studio, using Firebase initially for user authentication.
The code is quite extensive, so I won’t copy it here, but it’s available on Github.
Already implemented the login with Google, the user logs, goes to the home screen where you choose a room and, when entering the room, appears a chat window where you can send messages, including already with Google photo and profile name.
I am now implementing the login with Facebook according to the tutorials of Firebase and of Facebook, I have already followed all the configuration steps in Developers.facebook.com, such as app id, key hash, etc., in addition to creating the login button with Facebook.
The login is practically functional, the user enters with his account through the standard Facebook window, but when finishing the login, the application goes back to the home screen. That is, it takes the information but does not go to the next Activity (the Mainactivity, where the rooms are).
Me and the other developers of the app are students and beginners in Android programming, so I believe it is something simple but we are not able to fix it. Because we are beginners I also ask that if someone responds, please explain in which file would be the modification, the Facebook tutorial is vague on this. Thanks in advance.
The file does not have the access code with Facebook. Where?
– itscorey
Watch this video Login Facebook with Firebase I’m sure you’ll manage.
– Raphael de souza