analytics-react-native: [2.19.2] Possible Unhandled Promise Rejection (id: 0): Error: Promise timed out

I get this on app start:

Possible Unhandled Promise Rejection (id: 0):
Error: Promise timed out
Error: Promise timed out

and later on:

Promise Rejection Handled (id: 0):
 WARN    This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id 0.
  • analytics-react-native version: 2.19.2
  • Integrations versions (if used):
  • React Native version: 0.74.2
  • iOS or Android or both? Both

Steps to reproduce

Expected behavior don’t know Actual behavior throws promise timeout

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@alanjcharles No event loss, but I’m getting these errors every few seconds when running my app (not just at app launch). Please have them as opt-in through a config flag or something, it’s clogging up my debug terminal!

image

It may be unrelated, but I was getting the same error mentioned in the OP and also: Queue timeout before completed restoration. Downgrading to 2.19.1 resolved both of them.

“Error: Queue timeout before completed restoration” persists (version: 2.19.2)

hi folks thanks for the report- will prioritize this and follow up asap.

It appears that this is happening only on 2.19.2, downgrading to 2.19.1 does not throw the rejection any more.

Addressed in #966

Getting this still

Same here.

I have same problems. any solutions?