How can I rename the Firebase Project ID?

2020-05-24 21:10发布

问题:

I succeeded to rename my Firebase Project Name. I want to rename my Project ID as well, yet, it looks read-only.

I tried via Settings -> General, and via Permissions -> IAM etc, but with no success.

Does anyone know of any way of doing it? Thanks!

回答1:

firebaser here

There is no way to change the project ID of a project.



回答2:

I had to Delete my project and Create a new one.

How to Delete : Settings -> Permissions -> All Projects

How to Create here.

Do not forget running:

firebase use --add from your project dir, and test both:

firebase serve and

firebase deploy.



回答3:

You can just delete the current project, make a new project, download its google-services.json file and replace it with the current one in your app folder then finally you'll have to clean your project from Build -> CleanProject! That's it!



回答4:

You can refer to this doc

https://support.google.com/cloud/answer/6158840?hl=en

The project ID is a unique identifier for a project. When you first create a project, you can accept the default generated project ID or create your own. 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.