我无法在steps之后直接在客户端访问firebase功能。我在React Client应用程序中配置完全相同
HLOOKUP
答案 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