I am trying to get specific value from the collection category but it is not working as planned. I am using react native.
when i print the value with the -1 i only get the value from the first document, and when i rmove the -1 it does not work at all. Can some one help
TL;DR
Developers are having trouble retrieving specific values from a collection in React Native. When using -1 to print the value, only the first document is retrieved. Removing the -1 results in the process not working at all.