My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards).
In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName
and friends...
So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games:
Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API
My whole goal was/is to get rid of Google+ dependency (as Google Play Games doesn't require it anymore) and the GET_ACCOUNTS permission.
How can I sign in to Firebase without Google+ and GET_ACCOUNTS - and without the new Google Sign-in? Can I? Perhaps creating two separate GoogleApiClients would be a solution?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…