title: Firestore returning metadata after call from expo environment
body: <p>Hello guys I am new to react native. I was using the firebase package of expo env to connect firebase to my project. The auth and adding db worked fine but when I am trying to get data from firestore I am getting a lot of metadata and am unable to parse it.</p>
  <p>This is my call function.</p>
  <pre><code>const getUserData = async () =&gt; {
          const uid = await AuthUser.getUser();
          try {       
              const data = await firebase.firestore().collection('users').get();
              data.docs.forEach(doc =&gt; {
                  console.log(doc.data())
              });
          } catch (error) {
              console.log(&quot;error while getting user details&quot;, error)
          }
      }; 
  </code></pre>
  <p>This is the result I am getting</p>
  <pre><code>Array [
    Zu {
      &quot;_&quot;: vu {
        &quot;Hf&quot;: Ku {
          &quot;firestore&quot;: Qu {
            &quot;INTERNAL&quot;: Object {
              &quot;delete&quot;: [Function _delete],
            },
            &quot;Id&quot;: qu {},
            &quot;_&quot;: tu {
              &quot;A_&quot;: FirebaseAppImpl {
                &quot;automaticDataCollectionEnabled_&quot;: false,
                &quot;container&quot;: ComponentContainer {
                  &quot;name&quot;: &quot;[DEFAULT]&quot;,
                  &quot;providers&quot;: Map {
                    &quot;app&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;app&quot;,
                        &quot;serviceProps&quot;: Object {},
                        &quot;type&quot;: &quot;PUBLIC&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {
                        &quot;[DEFAULT]&quot; =&gt; [Circular],
                      },
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;app&quot;,
                    },
                    &quot;platform-logger&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;platform-logger&quot;,
                        &quot;serviceProps&quot;: Object {},
                        &quot;type&quot;: &quot;PRIVATE&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {},
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;platform-logger&quot;,
                    },
                    &quot;fire-core-rn-version&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;fire-core-rn-version&quot;,
                        &quot;serviceProps&quot;: Object {},
                        &quot;type&quot;: &quot;VERSION&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {},
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;fire-core-rn-version&quot;,
                    },
                    &quot;fire-js-version&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;fire-js-version&quot;,
                        &quot;serviceProps&quot;: Object {},
                        &quot;type&quot;: &quot;VERSION&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {},
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;fire-js-version&quot;,
                    },
                    &quot;auth&quot; =&gt; Provider {
                      &quot;component&quot;: Object {
                        &quot;instanceFactory&quot;: [Function instanceFactory],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;auth&quot;,
                        &quot;serviceProps&quot;: Object {
                          &quot;ActionCodeInfo&quot;: Object {
                            &quot;Operation&quot;: Object {
                              &quot;EMAIL_SIGNIN&quot;: &quot;EMAIL_SIGNIN&quot;,
                              &quot;PASSWORD_RESET&quot;: &quot;PASSWORD_RESET&quot;,
                              &quot;RECOVER_EMAIL&quot;: &quot;RECOVER_EMAIL&quot;,
                              &quot;REVERT_SECOND_FACTOR_ADDITION&quot;: &quot;REVERT_SECOND_FACTOR_ADDITION&quot;,
                              &quot;VERIFY_AND_CHANGE_EMAIL&quot;: &quot;VERIFY_AND_CHANGE_EMAIL&quot;,
                              &quot;VERIFY_EMAIL&quot;: &quot;VERIFY_EMAIL&quot;,
                            },
                          },
                          &quot;ActionCodeURL&quot;: [Function d],
                          &quot;Auth&quot;: [Function En],
                          &quot;AuthCredential&quot;: [Function Bg],
                          &quot;EmailAuthProvider&quot;: [Function d],
                          &quot;Error&quot;: [Function t],
                          &quot;FacebookAuthProvider&quot;: [Function d],
                          &quot;GithubAuthProvider&quot;: [Function d],
                          &quot;GoogleAuthProvider&quot;: [Function d],
                          &quot;OAuthProvider&quot;: [Function d],
                          &quot;PhoneAuthProvider&quot;: [Function d],
                          &quot;PhoneMultiFactorGenerator&quot;: [Function d],
                          &quot;RecaptchaVerifier&quot;: [Function d],
                          &quot;SAMLAuthProvider&quot;: [Function d],
                          &quot;TwitterAuthProvider&quot;: [Function d],
                        },
                        &quot;type&quot;: &quot;PUBLIC&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {
                        &quot;[DEFAULT]&quot; =&gt; Object {
                          &quot;apiKey&quot;: &quot;xxxx&quot;,
                          &quot;appName&quot;: &quot;[DEFAULT]&quot;,
                          &quot;authDomain&quot;: &quot;xxxx&quot;,
                          &quot;currentUser&quot;: Object {
                            &quot;apiKey&quot;: &quot;xxxx&quot;,
                            &quot;appName&quot;: &quot;[DEFAULT]&quot;,
                            &quot;authDomain&quot;: &quot;xxxx&quot;,
                            &quot;createdAt&quot;: &quot;xxxx&quot;,
                            &quot;displayName&quot;: null,
                            &quot;email&quot;: &quot;sayanc20002@gmail.com&quot;,
                            &quot;emailVerified&quot;: false,
                            &quot;isAnonymous&quot;: false,
                            &quot;lastLoginAt&quot;: &quot;1620559912736&quot;,
                            &quot;multiFactor&quot;: Object {
                              &quot;enrolledFactors&quot;: Array [],
                            },
                            &quot;phoneNumber&quot;: null,
                            &quot;photoURL&quot;: null,
                            &quot;providerData&quot;: Array [
                              Object {
                                &quot;displayName&quot;: null,
                                &quot;email&quot;: &quot;sayanc20002@gmail.com&quot;,
                                &quot;phoneNumber&quot;: null,
                                &quot;photoURL&quot;: null,
                                &quot;providerId&quot;: &quot;password&quot;,
                                &quot;uid&quot;: &quot;sayanc20002@gmail.com&quot;,
                              },
                            ],
                            &quot;redirectEventId&quot;: null,
                            &quot;stsTokenManager&quot;: Object {
                              &quot;accessToken&quot;: &quot;xxxx&quot;,
                              &quot;apiKey&quot;: &quot;xxxx&quot;,
                              &quot;expirationTime&quot;: 1620563512726,
                              &quot;refreshToken&quot;: &quot;xxxx&quot;,
                            },
                            &quot;tenantId&quot;: null,
                            &quot;uid&quot;: &quot;uoGEBWjWHMfXhBL4dVodHAiHr7d2&quot;,
                          },
                        },
                      },
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;auth&quot;,
                    },
                    &quot;auth-internal&quot; =&gt; Provider {
                      &quot;component&quot;: Object {
                        &quot;instanceFactory&quot;: [Function instanceFactory],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;auth-internal&quot;,
                        &quot;type&quot;: &quot;PRIVATE&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {
                        &quot;[DEFAULT]&quot; =&gt; Object {
                          &quot;addAuthTokenListener&quot;: [Function bound ],
                          &quot;getToken&quot;: [Function bound ],
                          &quot;getUid&quot;: [Function bound ],
                          &quot;removeAuthTokenListener&quot;: [Function bound ],
                        },
                      },
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;auth-internal&quot;,
                    },
                    &quot;fire-auth-version&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: false,
                        &quot;name&quot;: &quot;fire-auth-version&quot;,
                        &quot;serviceProps&quot;: Object {},
                        &quot;type&quot;: &quot;VERSION&quot;,
                      },
                      &quot;container&quot;: [Circular],
                      &quot;instances&quot;: Map {},
                      &quot;instancesDeferred&quot;: Map {},
                      &quot;name&quot;: &quot;fire-auth-version&quot;,
                    },
                    &quot;database&quot; =&gt; Provider {
                      &quot;component&quot;: Component {
                        &quot;instanceFactory&quot;: [Function anonymous],
                        &quot;instantiationMode&quot;: &quot;LAZY&quot;,
                        &quot;multipleInstances&quot;: true,
                      ...(truncated to the first 10000 characters)
  </code></pre>
  <p>The database is linked to the auth using a common field uid.
  Also if you guys could help me on how to search documents in a collection based on uid</p>