feat(android): initial Android version#8
Conversation
|
@m1ga iOS requires an object with at least one of these keys: |
|
Fixed as part of 3c98b58 |
|
@hansemannn nice 👍 will test that later |
|
|
@m1ga Anything I should change / add on iOS as well? |
|
At the moment I try to match the iOS version. Still have to find my way around it to see what url/path does and where I need to store what 😄 |
|
@m1ga Is this ready for review? I am adding Firestore as well, so I found this one |
|
oh, have to test that again. It worked but I'm not sure if it stored the data the same way as iOS did. |
|
Since I had to use it with Firestore Database today: FirebaseDatabase.queryFirestore({
collection: "collection",
// document: "documentId" // only one document - otherwise whole collection
});
FirebaseDatabase.addEventListener("query", function(e) {
console.log(e.data);
});will return an array of firebase.database-android-1.0.0.zip no other options yet, but reading works. Keep it in this module (since it is just called database) or should we create a firestore-database spin-off? |
|
Let's start with this one and iterate from there :) |


This is just a very basic start!
FirebaseDatabase:
DatabaseReference:
Firestore Databse:
queryFirestore({collection, [document])queryfirebase.database-android-1.0.0.zip