yalcin-ata/godot-android-module-firebase

firestore functions are not working :(

Lucas-B-C-Oliveira opened this issue · 1 comments

Hi friend, I have a problem changing or getting data from the Database.

The functions:

firebase.firestore_add_document ("collectionName", Dictionary) -> void

firebase.firestore_set_document_data ("collectionName", "documentName", Dictionary) -> void

return data == false ¯\_(ツ)_/¯

however, the function:

firebase.firestore_load_document ("collectionName") -> void

it simply doesn't return anything, when I put it in a variable, it returns NULL

What am I doing wrong?

Please help me, I really need to solve this problem for my final project in college, thank you !!!

My project is here: https://github.com/lucascoliveira189/PLComUno

My Code
image

My Database
image

Result in Debug
image

I checked again by creating a minimal test project, and everything works as intended. My first assumption is that you did not set up the access rights to the Firebase Firestore database.