I'm building an android game with java and I'm adding logging in my users with Google Play Games Services V2 and Firebase.
I have no problem integrating the code from the Play Games website (https://developers.google.com/games/services/android/signin#migrate_to_play_games_services_sign_in_v2) but when it comes to Firebases website (https://firebase.google.com/docs/auth/android/play-games) I'm stuck.
There is a crucial method firebaseAuthWithPlayGames() and it requires GoogleSignInAccount object but I don't know how to get it.
Thanks!