Closed anandsubbu007 closed 2 years ago
Can you give a bit more context? Maybe a full example of what is failing? Do you get an error?
Function run completely. No error found.
When I check my firebase db manually. There is no change in firebase db.
I'm afraid, I won't be able to help you if I don't get any more info. The code above should work. So, maybe there is some problem in the initialization or something, but I would need the full example code to judge.
Does it supports Firestore Database in Firebase?
no, only realtime database, storage and authentication for now
Ah, yes, but you're using an in memory database url mem://Subbu.App/
. This creates a database in the local memory and won't synchronize with any server. Main purpose for an in memory database is for unit testing. You should instead use an url that points to the actual database. In general, this is something like: https://my-project.firebaseio.com
. Probably, it is already part of your firebaseConfig
variable, so you don't need to explicitly add it anymore when you create the FirebaseDatabase
instance. Simply, do:
var db = FirebaseDatabase(app: firebaseApp);
Hi, I'm New to this.
may I know how to push and fetch data To & From Firebase Database.
i tried but it doesn't works
Thanks For Your Contribution.