question

Ash avatar image
Ash asked

Google Sign-on support on iOS

I was following this tutorial https://blog.playfab.com/blog/setting-up-google-sign-in

But on this page https://github.com/playgameservices/play-games-plugin-for-unity

it says - Do not use Google Play games services for iOS in new apps

What would be a good solution to implementing Google Sign-in with Playfab on iOS, Android and Windows 10 apps?

Thanks,

Ash

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
1807605288 avatar image
1807605288 answered

For general login answers, we've made a guide:
https://api.playfab.com/docs/tutorials/landing-players/best-login

For your question: You probably won't.

Google features are focused-towards, or exclusive-to, Android devices.

You will pick the platform specific login mechanisms that work for each platform, and/or general ones where applicable. Google->Android, Apple->iOS, Windows->WinPhone

Some of them ARE universal, because they're not associated with specific hardware: Facebook, Email, PlayFab.

That statement on the Google repository is them saying (paraphrased): Google and Apple are competitors, and Google will not provide support for iOS devices using Google sign-on systems. Even if you can get it to work somehow, Google won't guarantee that it will continue to work a month from now.

PlayFab can't work around that problem for you. We can only provide login mechanisms that work on each platform. We can't guarantee that you can use every login mechanism on every platform.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ash avatar image Ash commented ·

Thanks Paul for the detailed reply.

Looks like LoginWithEmailAddress would be the best choice.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.