analytics-react-native: Queue timeout before completed restoration
analytics-react-nativeversion: ^2.19.2- Integrations versions (if used): N/A
- React Native version: 0.72.1 AND 0.74.3
- iOS or Android or both? 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
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 12
- Comments: 21 (1 by maintainers)
It might be related. After upgrading to 2.19.4, I keep getting this in the log
+1
+1, also getting “Flush triggered but queue restoration and settings loading not complete. Flush will be retried” only after the upgrade.
Thanks @itajenglish
installing version 2.19.4 fixed this for me.
PS: I reached out on LinkedIn
I think this has been fixed in the last release. I no longer these warnings anymore after updating.
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