Data is not saved to database. Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}
My problem is about implementation of Firebase in android app. I have followed all steps told in the tutorials but I still cannot figure out why data is not saved to the firestore. I am aware of the fact that in this website people have come up with similar problems as mine but none helped me to solve my problem. Despite checking everything (Internet connection, rules etc), I could not solve the issue. I would be gratefull, if someone would suggest a different solution. Here are all details about the problem.
How do i get an ArrayList of a certain field from documents in a firestore collection?
Im trying to check if a (string)serial number writen in an EditTextView is equal to any of the string fields called serial number of my documents in the collection, but every time I try i get an error or a crash or it goes to the previous activity and i dont really know what to do, i have tried to look at the documentation which was very helpful with writing data to the database but not at getting it as in the example shown doc: