0

when i am installing my app from android studio every thing is working fine I am able to write and read from firestore correctly but when i uploaded my app on playstore i cannot write and read the same.

enter image description here

as you can see i cannot see the name of the field in my firestore console. I have added ignore commands in my proguard rules not it didn't work.

  • Please edit your question and add your database structure as a screenshot. But it's most likely because of [this](https://stackoverflow.com/questions/60719791/firebase-firestore-variable-name-changed/60719948#60719948). – Alex Mamo Jul 05 '21 at 11:47
  • yeah its the exact problem. thanks – siddharth sharma Jul 05 '21 at 13:43
  • In that case, I just marked it as a duplicate question. – Alex Mamo Jul 05 '21 at 14:32
  • i have asked a new question as the solution didn't worked. https://stackoverflow.com/questions/68283584/firestore-documents-not-getting-mapped-correctly-after-publishing-app-to-playsto – siddharth sharma Jul 07 '21 at 09:42
  • When the name of the variable is changed, the ProGuard is responsible for that. So most likely you didn't add the correct rules. – Alex Mamo Jul 07 '21 at 09:48
  • I have added both the images of console and proguard rules in my new question . please have a look into that here. https://stackoverflow.com/questions/68283584/firestore-documents-not-getting-mapped-correctly-after-publishing-app-to-playsto – siddharth sharma Jul 08 '21 at 11:24

0 Answers0