问题
I configured the phone authentication service However when i receive the SMS it displays something atrocious.
I get something like "firebase-production.app..."
How to fix it ?
回答1:
For Android and iOS, the App store and Play store name are used as those are already vetted before release. If this is a web app, the page's domain name is used as the app name. The reason is because this is the only verifiable identifier associated with the web app. The same thing is used for OAuth redirects. When you sign in with Google to your app, the user would see a message: Continue to www.example.com
.
If you are using Firebase hosting, you can switch to using custom domains. Using the project name is insecure as anyone can set any name on an app. I could create a Firebase project and call it Google. Nothing can stop me from doing so.
来源:https://stackoverflow.com/questions/48888516/how-to-configure-app-name-in-firebase-app