是否可以使用firbase云功能以编程方式将Android应用添加到Firebase项目 [英] Is that possible to add android app to firebase project programmatically using firbase cloud function

查看:43
本文介绍了是否可以使用firbase云功能以编程方式将Android应用添加到Firebase项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何方法可以以编程方式将Android应用添加到退出Firebase项目,结果需要google-services.json,然后需要使用node-js在同一应用中添加sha键联机文档无法解决我的问题,或者我不理解该文档中的操作方法

谢谢您的回答,我提出了这个问题,并面临另一个问题@admin和@Frank van Puffelen请检查
当我尝试创建android时,显示此错误.

Is there any method to add a android app to exiting firebase project programmatically and i need the google-services.json as result then i need to add sha key with that same app using node-js online documentation not solve my problem or i don't understand how to do it from that documentation

Thankyou for your answer i flowed it and facing another issue @admin and @Frank van Puffelen please check
when i try to create android it showing this error.

{ "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT" } } 


我从实时api测试窗口发送发帖请求
在父级中,我将其设置为`projects/343202254462`


I send post request from live api test window
and in parent i set it as `projects/343202254462`

{ "displayName": "testing", "name": "te4sting", "packageName": "io.asdasd.fdsfdsf", "projectId": "324324324", "appId": "wdeqwe" }

推荐答案

有一个

There is a REST api, Firebase Management API, which lets you control the apps connected and other such admin work. Friendly note, make sure you restrict all client api keys from using this api!

REST资源:v1beta1.projects.androidApps

REST Resource: v1beta1.projects.androidApps

创建POST/v1beta1/{parent = projects/*}/androidApps

create POST /v1beta1/{parent=projects/*}/androidApps

这篇关于是否可以使用firbase云功能以编程方式将Android应用添加到Firebase项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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