googlesamples / google-signin-unity

Google Sign-In API plugin for Unity game engine. Works with Android and iOS.
Other
424 stars 231 forks source link

Unity GoogleSignIn not worked on iOS with multiple (double) GoogleService-Info.Plist's #223

Closed Daniil-Mozolevskiy closed 5 months ago

Daniil-Mozolevskiy commented 1 year ago

In my Unity project, i use multiple Firebase projects, first - for database and remote config, second - for firebase auth. In my auth logic, i use google sign in and apple sign in. When i start and play game on Android, it's work correctly, but on iOS, when i click on goole login button, google sign in shows native popup, and if you select google mail account, native popup will hide and then nothing will happen. I tested it with one GoogleService-Info.Plits and it's work fine, but when a add the second GoggleService-Info.Plist, it's not worked for me.

SignInException: Exception of type 'Google.GoogleSignIn+SignInException' was thrown.

CodeMasterYi commented 1 year ago

https://github.com/googlesamples/google-signin-unity/pull/205 @Daniil-Mozolevskiy