-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
The issue can be reopen
#121
Debug with the function RunningUpdate
https://github.com/segmentio/Analytics-CSharp/blob/main/Analytics-CSharp/Segment/Analytics/Plugins/StartupQueue.cs#L47
Here are the test steps:
- Close the network. Clear all previous test data with full clean test steps.
- Initialize segment with default config offline. Only use the write key as parameter for the segment constructor function.
- Wait for a few seconds, I can see the
state.running is true
from the function RunningUpdate, https://github.com/segmentio/Analytics-CSharp/blob/main/Analytics-CSharp/Segment/Analytics/Plugins/StartupQueue.cs#L47 - Then I call track event and wait for a few minutes without closing the app. Keep the app running.
- The temporary file is still not generated.
In conclusion, if the segment instance is initialized offline, even state.running = true, it will not generate the temporary file.
Metadata
Metadata
Assignees
Labels
No labels