1

I have this error "Please report: Excessive number of pending callbacks: 2941. Some pending callbacks that might have leaked by never being called from native code: ". It's because i try to read like 1400 documents in firestore. I do something like this:

array.map(userUid => {
        var docRef = db.collection('users').doc(userUid);
        docRef.get().then(doc => {
          ...
        })
})

Here array is an array with 1400 users's uid. I don't know how to handle this error, do you have any idea ?

Infos:

  • react native: 0.61.1
  • react-native-firebase: 6.4.0
  • Bug on IOS simulator didn't try on Android.
Charly Plee
  • 75
  • 2
  • 6
  • "Please report" means it is a bug with React Native and you should report it to the devs. – D. Pardal Apr 28 '20 at 08:40
  • https://stackoverflow.com/questions/61480089/how-to-avoid-excessive-number-of-pending-callbacks-501-error-during-images-do – Yossi Jul 14 '20 at 17:04

0 Answers0