segmentio / analytics-react-native

The hassle-free way to add analytics to your React-Native app.
https://segment.com/docs/sources/mobile/react-native/
MIT License
366 stars 188 forks source link

Flush triggered but queue restoration and settings loading not complete. Flush will be retried. #989

Closed dhatGuy closed 1 month ago

dhatGuy commented 2 months ago

I upgraded to 2.19.4 and these logs started appearing. image

I restarted the app and stopped getting these

 ERROR  [SyntaxError: JSON Parse error: Unexpected character: <]
 WARN  Possible Unhandled Promise Rejection (id: 0):

but this keeps getting logged

 INFO  Flush triggered but queue restoration and settings loading not complete. Flush will be retried.

Steps to reproduce

Expected behavior No warnings or the same info logged multiple times Actual behavior Warnings and info logs appearing repeatedly

mayfairr commented 2 months ago

Also experiencing this on latest version after upgrading :/

itajenglish commented 2 months ago

+1

meabed commented 2 months ago

Same here - it would be great to add option to not display this error at all

anon-r-7 commented 2 months ago

+1 also getting this since upgrading which I did to fix the last logging issue :(

tarmoire commented 1 month ago

+1

alanjcharles commented 1 month ago

resolved in #999