问题
I have been integrating Google sign-in for syncing the calendar events using Google Calendar API. While trying to sign in, I am getting this.
As you can see the name of the project/app is displayed as "project-xxxxxxxxx" rather than the project name itself. How can I display the original project name here?
I have already tried How do I set the project name in the Google iOS Sign-In screen? , but of no use!
回答1:
Atlast I found it! I am also using Firebase for database. So when I checked its console , there is an option "Public-facing name" and renamed it. It worked!
Steps for the solution:
- Go to Firebase Console and select the project.
- Under Settings, select the General tab.
- Change the Public-facing name by clicking the Edit button and then Save.
Please check the below image.
回答2:
You need to create the OAUTH Client_ID by mentioning with your project name. It will display the same name which you specify in Google auth Console.
click here to open google auth console.
来源:https://stackoverflow.com/questions/50854283/google-sign-in-showing-incorrect-project-name-ios