Promises in react native behave differently for Android vs IOS


We have a react native app that runs much better on IOS than Android.
We have realized that the differences mostly stem from Promises.

As an example:
we have many cloud functions that we are concurrently running, using Promise.all(promises).then((results) => ,,,

These are done concurrently in IOS very fast, but on Android they get sent to firebase sequentially, and are extremely slow.

Is there a way to fix these issues with promise differences between Android and IOS?

Please let me know.

Thanks

We tried looking up online about solutions to this, but didn’t really encountered much info.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img