Closed AlexBacich closed 4 years ago
Is there a way to read\write to Firestore database inside of HTTPS function?
From what I see in Cloud Functions specs - I need to run this in Node.JS:
const admin = require('firebase-admin'); admin.initializeApp(functions.config().firebase);
I'm not familiar with JS though so all my hope was on firebase-functions-interop plugin.
Found it - it's already in package. All I need to do is to import: import 'package:firebase_admin_interop/firebase_admin_interop.dart';
Is there a way to read\write to Firestore database inside of HTTPS function?
From what I see in Cloud Functions specs - I need to run this in Node.JS:
I'm not familiar with JS though so all my hope was on firebase-functions-interop plugin.