-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queue timeout before completed restoration #973
Comments
Important to note that I have left almost all options to their default:
|
++ Also getting this. "@segment/analytics-react-native": "^2.17.0", |
Same here with version 2.19.2. |
Also seeing these warnings spewed in my console. |
Same here, any ideas how to suppress or silence these warnings? |
I have not tried this, but the code should be something like this:
That being said, I would not recommend ignoring the warning. Segment should fix it |
I think this is caused by this recent change #943 The QueueFlushingPlugin has a default timeout of 500ms and it will fail if it's not intialized within that time. But in our testing it sometimes takes 2 seconds for the entire thing to be ready. So it will block every events from being sent. |
FWIW I have not noticed events dropped while seeing this warning. It appears to be functioning normally |
Also getting this, following. |
also seeing this after upgrading |
+1 |
Commenting to get updated |
I think this has been fixed in the last release. I no longer these warnings anymore after updating. |
Thanks @itajenglish installing version 2.19.4 fixed this for me. PS: I reached out on LinkedIn |
Seeing that others have mentioned it's fixed in the latest release, I'm closing this issue. |
same here with @dhatGuy |
@dhatGuy I could repoen this issue, but that warning may be unrelated to this one. Can you create a new issue? |
+1, also getting "Flush triggered but queue restoration and settings loading not complete. Flush will be retried" only after the upgrade. |
analytics-react-native
version:^2.19.2
N/A
0.72.1 AND 0.74.3
BOTH
Steps to reproduce
Send various screen and track events
Here is an example screen event I am sending:
SCREEN event saved {"name": "TEST_SCREEN", "properties": {"_environment": "LOCAL", "_otaVersion": "N/A"}, "type": "screen"}
Expected behavior
No warning
Actual behavior
This warning appears multiple times per session. However, the events are shown properly in the segment console
The text was updated successfully, but these errors were encountered: