CrossGeeks / GoogleClientPlugin

Google Client Plugin for Xamarin iOS and Android
https://www.pujolsluis.com/google-client-plugin-for-xamarin/
MIT License
89 stars 37 forks source link

Error : Google sign in could not complete it's process correctly #31

Closed edhalsim closed 5 years ago

edhalsim commented 5 years ago

Describe the bug I'm sorry. I'm pretty sure this isn't a bug, but I keep getting this error no matter what I try when debugging on the Android emulator from Visual Studio 2017.

  1. Where does the google-services.json file go? Does it go in the Android project root, under Resources, or both?
  2. Does the build action on the json file need to be set? I've tried setting it to None as well as GoogleServicesJson.

Note that I needed to change the package name so I deleted and recreated the Android App (NOT the Project) in Firebase and re-downloaded the latest google-services.json file.

To Reproduce I run the emulator, click on Google Sign-In, select my account, and then I get this error.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

edhalsim commented 5 years ago

After several attempts, I would up recreating the Android app. in Firebase although this time with all lowercase letters for the bundle name. After setting the property in the project and downloading the updated google-services.json, now I can login. Don't know if the bundle name must be lowercase or not.