多个开发人员如何在连接到单个Firebase控制台的同一个Android应用上工作? [英] How multiple developers can work on the same android app connected to a single Firebase console?

查看:41
本文介绍了多个开发人员如何在连接到单个Firebase控制台的同一个Android应用上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的本​​地android应用已在google firebase控制台中同步,并在google.services.json中配置了我的SHA密钥.开发商在另一端如何 可以将项目设置为使用相同的Firebase控制台和json文件. 我们正在尝试基于电话的身份验证.虽然我的安装程序可以正常运行,但另一端的开发人员遇到此错误-不允许执行此操作.您必须在控制台中启用此服务. 请以正确的方式帮助我.

My local android app is synced up in google firebase console with my SHA key configured in google.services.json. How do the developer on other end can setup the project to use the same firebase console and json file. We are trying phone based authentication. While setup at my end works is fine, but the developer on the other end is getting this error - This operation is not allowed. You must enable this service in the console. Please help me with the correct way to do this.

推荐答案

解决方案:

因此,对于其他开发人员,请按图片所述生成SHA-1密钥

So for other developers, generate the SHA-1 Key as described in the picture

转到Firebase控制台:

Go to Firebase Console:

  • 设置
  • 您的应用
  • 添加指纹并粘贴SHA.

评论的解决方案: 因此答案正确地写在错误中.您不能有两个具有相同程序包名称的项目.即使删除它.从开发者控制台中完全删除至少需要4-5天.

A solution for the comment: So the answer is well written in the error. You can't have two projects of the same package name. Even if you delete it. It will take a least 4-5 days to get deleted fully from the developer's console.

因此,唯一的解决方案是通过从android studio生成签名的apk来对应用进行自定义签名,从而生成新的SHA-1密钥.或者只是使用不同的程序包名称创建一个新项目,这两种方法现在都可以使用.

So the only solution is to generate a new SHA-1 key by custom signing the app by generating a signed apk from the android studio. Or just create a new project with different package name both ways will work for now.

希望此信息有所帮助.让我知道它是否对您有任何改变.

Hope this info helps. Do let me know if it changes anything for you.

这篇关于多个开发人员如何在连接到单个Firebase控制台的同一个Android应用上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆