Delete a Firebase Android app, then use its SHA1 and package name in another project

允我心安 提交于 2019-12-23 04:02:03

问题


I'm using Firebase for its Firebase Cloud Messaging service. I have 2 account, each of which has a project with and Android App.

Account A -> Project A -> Android App A
Account B -> Project B -> Android App B

I need to delete Project A and migrate everything to Project B (Android and iOS apps, nothing else).

Here's what I've done so far:

  1. deleted Android App A
  2. created Project B
  3. created Android App B

I now need to add the SHA1s, used in Android App A, in Android App B, but I always get an error.

I'm thinking this could need some time to take effect, during which time I can't use the same SHA1 in another app.

  • Is this the case?
  • How long should it take?
  • Am I missing something?

回答1:


It takes up to 1 month to delete a project from firebase to prevent unintended removal. AFAIK, you cannot use your key during that period.

upd. If you used a debug store (usually placed in ~/.android/debug.keystore) and generated 'androiddebugkey' like this

keytool -list -alias androiddebugkey \
-keystore ~/.android/debug.keystore \
-storepass android -keypass android

you can always delete the ~/.android/debug.keystore file and generate new SHA1.



来源:https://stackoverflow.com/questions/40890451/delete-a-firebase-android-app-then-use-its-sha1-and-package-name-in-another-pro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!