Hello,
I'm developing a game in Unity for iOS and Android. I'd like to implement a Facebook and Google login options.
First problem is that the PlayFab tutorials are outdated.. Quite disappointing from such a big company but never mind.
I did a lot of searches and found multiple threads with parts of solutions but in the end it seems that Google Play Services only works on Android ?
But I don't want Google Play Services, only the Google Sign in feature. (unless it is mandatory, to be able to login via a Google account?)
To be honest I'm quite lost, I never did authentication before (except my own with basic duo email/password). I understood I had to fill some forms on Google Cloud Console to get specific IDs etc.. But I don't know what to do regarding Unity and Playfab.
What SDK should I download to be able to use Google Sign in for Android AND iOS ?
Even if I find the correct SDK to install, then what ? How to correctly implement this feature?
I tried to follow the Playfab tutorial for this but with HTML5 instead of Unity as it seemed less outdated.
But then I don't have the code example to implement this and/or I just don't understand..
- Is there any up-to-date tutorial for implementing a Google Sign In option in a Unity game for iOS and Android?
If you can share with me some proper documentation/video anything that can help me understand how to implement this I would be very glad.
Thanks
--
Useful search results :
- How to login with Google Sign In (2021) (but the solution points to the PlayFab tutorial which seems to be only for Android?)
- Setting up PlayFab authentication using Google and HTML5
- iOS: Integrating Playfab with Google SignIn