js
1exports.testWriting = functions.https.onCall((data, context) => { 2 console.log("test writing!"); 3 db.collection('test').doc().set({ test: "This is test" }, { marge: true }); 4});
Cloud Functionsに以上の関数をデプロイしてAndroid側で呼び出しました。
そしたら、
CloudFunctions
1Billing account not configured. External network is not accessible and quotas are severely limited. Configure billing account to remove these restrictions
と帰ってきました。
フリーのプランで外部のAPIをCloud Functionsから叩けないのはわかりますが、Firestoreも叩けないということはあるのでしょうか。それとも、記述したソースコードが原因でしょうか。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/14 22:16
2019/07/14 22:30
2019/07/16 10:46