Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure %APP_NAME% in firebase app?

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 ?

like image 937
Lena Bru Avatar asked Feb 20 '18 15:02

Lena Bru


People also ask

How do I change my Firebase app name?

To edit either of your project's names: Click next to the name for either Project name or Public-facing name. Enter a new name. Click Save.

Can I change Firebase project ID?

A project ID cannot be changed after the project is created, so if you are creating a new project, be sure to choose an ID that you'll be comfortable using for the lifetime of the project. Show activity on this post. There is no way to change the ID of a project. You have to create a new one.

How do I add my test number to Firebase?

In the Firebase console, open the Authentication section. In the Sign in method tab, enable the Phone provider if you haven't already. Open the Phone numbers for testing accordion menu. Provide the phone number you want to test, for example: +1 650-555-3434.


2 Answers

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.

like image 167
bojeil Avatar answered Sep 26 '22 04:09

bojeil


According to Firebase Help, to change the APP_NAME you can change the Public-facing name field on the Settings page.

enter image description here

like image 26
shahsani Avatar answered Sep 24 '22 04:09

shahsani