hi @dangtienngoc - its hard to say from the code and forum description what the problem is. Try looking at each function call and seeing that it returns what you expect?
On Android it doesn’t through any errors, when you try to query or read from the Firestore.
On iOS it works perfectly fine, I am able to query or read, except after 1 or 2 minutes, I get an error “Can’t find Variable: Image”. Somebody filed an issue for that, a month ago, Firebase team said they will address this issue on their next SDK which is 4.6.1. I have updated my firebase package to 4.6.1 but still see this error.
@clarktank - ok, can you post an app that has it set up and working on iOS so we can try it on Android and investigate to determine whether it is Expo or Firebase that needs to change?
i created a project with react-native init and encountered the exact same warning, so this issue isn’t specific to expo. if you have time, please go ahead and open an issue on the firebase repository, or feel free to dig through the code and find the problem. since the problem is not specific to expo, i don’t have time to investigate any further, sorry! i can create an issue if you don’t get around to it though, let me know if you make one.
@czubocha - sorry to hear that but it’s not an expo-specific problem and we don’t have the time as a company to spend on this right now. i would suggest helping firebase solve the problem, that’s your best bet. this is open source, all of the code is there, you can do your part and pitch in