Closed itsarjunsinh closed 2 years ago
Oh! That's actually a relatively new API, didn't know it existed. I'll look into it and likely implement it myself. Thanks!
While I implement this, by the way, you know you can have these be called indirectly through changes in the database and Firestore (and almost everything), right? Just want to make sure you're not blocked, @itsarjunsinh.
It didn't occur to me. It is a pretty clever short-term solution. Thanks. Edit: To clarify, I'm not really blocked, since I still haven't moved away from Unity. I'm keeping tabs on Godot and and your project for now with the hope of using it in the future.
It's actually the original way to handle it - Functions originally weren't able to be called directly. :P You could only trigger them via changes to things, because of how they're built in node.
Hello! Thanks for this much-needed project. It's great!
Is your feature request related to a problem? Please describe. To use cloud functions, Godot projects need to write helpers to make http calls with specific headers and auth tokens. Ideally it should be in the Firebase client sdk.
Describe the solution you'd like Provide API to call Firebase Cloud functions like official Firebase client sdks.
Additional context Firebase Docs: Callable functions (client) Firebase Docs: Protocol specification for https.onCall Classes/approach in client sdk for Flutter