我可以安全地删除我的新 Firebase 项目而不丢失我的 Android 应用程序吗?
Can I safely delete my new Firebase project without losing my Android app?
开始将 Firebase 添加到我的应用程序。为此,我必须添加 SHA1 配置但出现此错误
An OAuth2 client already exists for this package name and SHA-1 in another project. You can omit the SHA-1 for now and read more about this situation and how to resolve it
所以我按照建议跟进 this linke 并获得了似乎与我的案例相关的说明(即开始将 Firebase 添加到现有应用程序):
If you just created this project or aren't very far into adding Firebase to your app, the simplest approach is to delete your project and instead import your existing Google project.
但是,当我继续删除我的 Firebase 项目时,我收到了这条可怕的消息:
This is a permanent action. All apps contained within this project will also be deleted.
我的应用正在制作中!我不能删除它!此消息是否仅从 Firebase 控制台的角度编写?我可以确定我现有的应用程序(最初在常规 Android 项目中定义)不会被删除吗?
经过一番调查后,我意识到可以安全地删除 Firebase 项目,而不会失去对我的原始应用程序的访问权限。详情如下。
- 删除的是对应的GCP项目(即项目ID相同);假设你创建了一个新项目(我就是这么做的)——你会得到一个自动生成的 new GCP 项目并且 it 将在您删除了新的 Firebase 项目。
- 我的应用对应的GCP原版GCP项目(已经在Google播放)没动
- 如果出现错误,始终可以恢复原始 GCP 项目(请参阅 here)。我不需要那个,但知道这个选项存在,更容易决定验证上述 2 个项目符号。
开始将 Firebase 添加到我的应用程序。为此,我必须添加 SHA1 配置但出现此错误
An OAuth2 client already exists for this package name and SHA-1 in another project. You can omit the SHA-1 for now and read more about this situation and how to resolve it
所以我按照建议跟进 this linke 并获得了似乎与我的案例相关的说明(即开始将 Firebase 添加到现有应用程序):
If you just created this project or aren't very far into adding Firebase to your app, the simplest approach is to delete your project and instead import your existing Google project.
但是,当我继续删除我的 Firebase 项目时,我收到了这条可怕的消息:
This is a permanent action. All apps contained within this project will also be deleted.
我的应用正在制作中!我不能删除它!此消息是否仅从 Firebase 控制台的角度编写?我可以确定我现有的应用程序(最初在常规 Android 项目中定义)不会被删除吗?
经过一番调查后,我意识到可以安全地删除 Firebase 项目,而不会失去对我的原始应用程序的访问权限。详情如下。
- 删除的是对应的GCP项目(即项目ID相同);假设你创建了一个新项目(我就是这么做的)——你会得到一个自动生成的 new GCP 项目并且 it 将在您删除了新的 Firebase 项目。
- 我的应用对应的GCP原版GCP项目(已经在Google播放)没动
- 如果出现错误,始终可以恢复原始 GCP 项目(请参阅 here)。我不需要那个,但知道这个选项存在,更容易决定验证上述 2 个项目符号。