Firebase云功能可直接在客户端上调用app

时间:2018-03-27 15:43:09

标签: reactjs firebase client google-cloud-functions

我无法在steps之后直接在客户端访问firebase功能。我在React Client应用程序中配置完全相同

HLOOKUP

1 个答案:

答案 0 :(得分:2)

您正在导入case let .value( body) : // If the request was successful, the protected resource will // be available in 'body'. Make sure to implement a mechanism to // detect authorization timeouts. print("Response body: \(body)") return body Node.js库,而不是SDK的可调用函数部分。您的导入应如下所示:

firebase-functions