Skip to content

Firestore not return get() Promise  #533

Closed
@bhram

Description

@bhram

[REQUIRED] Describe your environment

  • Operating System version: react native
  • Firebase SDK version: ^4.9.1
  • Firebase Product: Firestore

[REQUIRED] Describe the problem

the promise not return 'Loading' or 'Error' ,
it's keep in promise not return any resolve or reject, in get() or set() or update()
when i try in reactjs web it's work fine but in react native not work !!!
*note the collection and doc is exists and it's work in web

 try {
    const snap = await firebase.firestore().collection('users').doc('test').get();
    console.log('Loading ');
  } catch (error) {
    console.log('Error');
  }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions