Events getting lost or not getting flushed

We are using the analytics-csharp library for our mobile Unity app to track events to Segment. We are observing events not getting tracked correctly for some of our users and wondering whether tracked events that haven't been flushed yet persist or get dropped upon app crash?

hey @al2114, thanks for reporting the issue. can you elaborate more on "events not getting tracked correctly"? are you experiencing event lost or event with incorrect data? if it's event lost, how did you observed the lost? through the debugger on segment workspace or other metrics? it'd be great if you could mention which version of analytics-csharp that you're using.
if you're observing events lost because some of them did not show up in the segment debugger, the events are not necessary lost, because segment debugger samples the events to show up, instead of showing all of them.
in regards to your questions, yes, analytics-csharp persist data to disk at a per event basis. events are persist to the disk before it's flushed. so even if the app is crashed, the data is not lost. it is uploaded upon the next app open. it's very unlikely to experience a buffered queue, unless you're building up hundreds of thousands events continuously in a tight loop.
however, if you're using InMemoryStorageProvider, all events are lost when app is crashed, because it's purely in memory.

Hey @wenxi-zeng, appreciate the quick response! We believe we're seeing events getting lost. We can confirm activity on the app for these subset of users based on other events from our backend and through our logs, but not receiving any of the events from Segment at our destinations (it is working correctly for most our users, only some seem to be impacted here). Only lead we have is from one of the impacted users, they reported experiencing a crash so suspecting if it could be related... However we do also have our flush time set at 30 seconds, and we also see in our logs that app session length definitely is longer than 30 seconds, so strange that no events are coming through.

@al2114 thanks for the context! would you mind me ask which destinations you've seen the problem? and which platform is this issue occurred (android or ios)? one last thing to confirm: are there no delivered events at all for the impacted user after the crash, or just some of the events lost? we'll investigate and see if we could replicate the problem.
analytics-csharp is going for GA next week. there will be more debugging tools such as error handler and logger for you to handle event tracking when error occurs. it will also allow you to custom your flush strategy by implement a flush policy, so you will have more control over the stored events.
in the meanwhile, if you don't wanna wait up and suspect that's the storage causing the issue, you could implement your own StorageProvider.

That's great to hear @wenxi-zeng, hopefully those tools will be helpful for us to triage. We just did a little more digging and it seems like one common thread across some of the customers impacted here are they seem to all be running on devices to do not support latest iOS version (Running on anywhere between iOS 12 - 15)
We also managed to capture one error log from device console logs coming from our Segment library if this means anything:
(SegmentAnalytics): One or more errors occurred. (Collection was modified; enumeration operation may not execute.)

@al2114 that's super helpful! will take a look

Updated the title to reflect the problem more correctly

hey @al2114 we have a lead on the issue. it's very likely a json object is modified during enumeration. we're updating the json library to be thread safe and also evaluating other places in the Analytics library that could run into concurrent modification issue. a fix will be shipped next week. thanks again for bring this issue to our attention

Hi @wenxi-zeng thanks for address the issue with quick fix – do you suspect that concurrency issue can cause all events tracking to fail for the particular user's device? We actually do have one device from our team members that we have been trying to use to investigate the issue and we see the issue persistent on app sessions (even if the app gets killed and relaunched), events on this device do not reach Segment servers at all.

Hey @wenxi-zeng, when do you guys use to merge main into upm branch in order for us to have a new package version to use in our Unity projects?

@al2114 it's possible if you're using cloud mode destination. the SDK setup the destination metadata by iterating though the cloud mode destination json object. that could cause the issue. also, if you're using our unity lifecycle example, there is bug that I fixed in the pr could cause the same issue.
@sandolkakos we're having our GA release this week. it'd be available for all platforms at latest this Friday. I'm trying my best to expedite at least the release for the SDK sooner, since this is an outstanding issue. sorry for the inconvenience it may cause.

hey @al2114 and @sandolkakos, we have released a 2.3.0-alpha.2 that has the fix. you're welcome to try it out see if it solves the issue, but it's not suggested to use it in production, since this is a pre-release version meant for testing. the official 2.3.0 will be released in 2 days.

Thanks a lot, @wenxi-zeng. I'm gonna trigger a new internal build using 2.3.0-alpha.2 version and ask our team member to test the build to see if we receive logs from her device.

Hi @wenxi-zeng, we integrated the new alpha build and tested on impacted device however are still not seeing events showing up on Segement server end. We also do not see any exceptions show up here. I know you mentioned additional debugging tooling, is this in the alpha build and any advice on how we may might be able to add additional logging or debug further?

hey @al2114, the logger and error handler are in the alpha version. the official 2.3.0 is also out. you can give it a try. please follow the example here to setup Analytics.Logger and IAnalyticsHandler. you can see more samples here

in this line, please check if the exception is AggregateException. if so, you'd have to go through the inner exception to output error message and stacktrace (see here), since AggregateException's stacktrace is always null

Thanks for the hints @wenxi-zeng, we are gonna give them a try and will come back with results.

hey @sandolkakos and @al2114, please let us know how did you reproduce this issue. we want to investigate it on our end too. it'd be very helpful if you could provide console logs.
if you've registered to Analytics.Logger, look for this log:
Analytics starting =

this will tell if the event is missing because of fetching settings or failure of flushing.

hi @wenxi-zeng, we unfortunately have only one person in our team that can 100% reproduce that problem, but we did not understand yet which condition is causing it (she is not a developer and also does not live close to us to make some debugging on her device). So everytime we have a build, we ask here to use our App and check if Analytics are coming.
We have now applied the changes according to the samples you have suggested and, as soon as we have test results, we come back to let you know.
Thanks.

hey @wenxi-zeng, we have tested version 2.3.0 but unfortunatelly the events data are not coming yet.
Here are the logs we have collected:
2023-09-27 07:30:05.833 | [29] (SingletonsController): ForceUpdateManager singleton got initialized
2023-09-27 07:30:05.900 | [31] (FeatureFlags): GrowthbookPlatform.Init - Start
2023-09-27 07:30:06.033 | [31] (FeatureFlags): GrowthbookPlatform.LoadFeatures - Start
2023-09-27 07:30:06.084 | [31] (SegmentAnalytics): SegmentAnalytics.Init - Start
2023-09-27 07:30:06.198 | [31] (SegmentAnalytics): SegmentLogger: Message: Analytics starting = False
2023-09-27 07:30:06.245 | [31] (SegmentAnalytics): SegmentLogger: Message: Segment.io performing flush
2023-09-27 07:30:07.038 | [31] (SegmentAnalytics): SegmentAnalytics.Init - End: 0ms
2023-09-27 07:30:07.038 | [31] (Analytics): Analytics - Going to send TrackEvent: App Initializing
2023-09-27 07:30:07.039 | [31] (Analytics): Analytics - TrackEvent successfully sent: App Initializing
2023-09-27 07:30:07.039 | [31] (SingletonsController): Analytics singleton got initialized
2023-09-27 07:30:07.040 | [31] (SegmentAnalytics): SegmentLogger: Message: SegmentStartupQueue queueing event
2023-09-27 07:30:07.044 | [31] (AuthManager): AuthManager.Init - Start
2023-09-27 07:30:07.081 | [32] (SegmentAnalytics): SegmentLogger: Message: SegmentStartupQueue queueing event
2023-09-27 07:30:07.161 | [32] (FeatureFlags): GrowthbookPlatform.LoadFeatures - End: 1128ms
2023-09-27 07:30:07.162 | [32] (FeatureFlags): GrowthbookPlatform.Init - End: 1261ms
2023-09-27 07:30:07.162 | [32] (SingletonsController): FeatureFlags singleton got initialized
2023-09-27 07:30:07.392 | [32] (AuthManager): AuthManager.Init - End: 347ms
2023-09-27 07:30:07.394 | [32] (SingletonsController): AppLifeCycleManager singleton got initialized
2023-09-27 07:30:07.400 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:03.975 | [0] BootstrapSceneController.Awake
2023-09-27 07:30:07.401 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:04.637 | [1] BootstrapSceneController.ShowLoadingScreen - Start
2023-09-27 07:30:07.401 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:05.650 | [25] BootstrapSceneController.ShowLoadingScreen - After LoadingScreen.GetInstance
2023-09-27 07:30:07.401 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:05.668 | [25] BootstrapSceneController.ShowLoadingScreen - After requesting LoadingScreen.Show
2023-09-27 07:30:07.401 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:05.668 | [25] BootstrapSceneController.StartAsync - Start
2023-09-27 07:30:07.401 | [32] (BootstrapSceneController): pendingLog: 2023-09-27 07:30:07.400 | [32] BootstrapSceneController.StartAsync - After controllers Init
2023-09-27 07:30:07.402 | [32] (SettingsController): Going to check microphone access
2023-09-27 07:30:07.631 key_value user.uid ********-*********-****-************ Set device data "user.uid"="********-*********-****-************"
2023-09-27 07:30:07.631 key_value user.email<EMAIL_ADDRESS>Set device data<EMAIL_ADDRESS>2023-09-27 07:30:07.631 key_value user.phoneNumber +*********** Set device data "user.phoneNumber"="+***********"
2023-09-27 07:30:07.647 | [33] (SegmentAnalytics): SegmentLogger: Message: SegmentStartupQueue queueing event
2023-09-27 07:30:07.692 | [36] (SegmentAnalytics): SegmentLogger: Message: Analytics starting = False
2023-09-27 07:30:07.693 | [36] (SegmentAnalytics): SegmentLogger: Message: Analytics starting = True
2023-09-27 07:30:07.711 | [37] (SettingsController): Microphone access checked
2023-09-27 07:30:07.713 | [37] (SceneLoader): Initializing required data for the SceneLoader.
2023-09-27 07:30:07.714 | [37] (SceneLoader): LoadScene gets called for sceneName: ProfileSelection
2023-09-27 07:30:07.714 | [37] (SceneLoader): Going to dispose the current scene: Bootstrap
2023-09-27 07:30:07.720 | [37] (SceneLoader): Going to load sceneName: ProfileSelection
2023-09-27 07:30:07.727 | [37] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"App Initializing","properties":{},"anonymousId":"********-*********-****-************","messageId":"2f55b5a4-4b8e-4185-a8b2-e16fade75fdb","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:07.6933020Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:07.759 | [38] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"Application Opened","properties":{},"anonymousId":"********-*********-****-************","messageId":"ef5fc2a6-74ac-4111-b0a6-d6344dd67b09","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:07.6933390Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:07.774 | [39] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"identify","traits":{"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"},"anonymousId":"********-*********-****-************","messageId":"3e96cde1-ff69-4dbf-9af3-23842cec0f3e","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:07.6933540Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:10.256 | [173] (SceneLoader): After executing Init of sceneName: ProfileSelection
2023-09-27 07:30:10.266 | [174] (SceneLoader): Hiding the Loading screen for sceneName: ProfileSelection
2023-09-27 07:30:10.785 | [205] (SceneLoader): After executing PostInit of sceneName: ProfileSelection
2023-09-27 07:30:10.786 | [205] (BootstrapSceneController): BootstrapSceneController.StartAsync - After controllers PostInit
2023-09-27 07:30:10.786 | [205] (BootstrapSceneController): BootstrapSceneController.StartAsync - End: 6830ms
2023-09-27 07:30:10.787 | [205] (Analytics): Analytics - Going to send TrackEvent: App Initialized
2023-09-27 07:30:10.789 | [205] (Analytics): Analytics - TrackEvent successfully sent: App Initialized
2023-09-27 07:30:10.814 | [206] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"App Initialized","properties":{"duration": "6830"},"anonymousId":"********-*********-****-************","messageId":"50a3bf9d-5cdc-4a0c-a8b2-de661ec5d1c1","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:10.7892630Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:15.096 | [457] (SceneLoader): LoadScene gets called for sceneName: BookAssignment
2023-09-27 07:30:15.098 | [457] (SceneLoader): Going to display the Loading screen for sceneName: BookAssignment
2023-09-27 07:30:15.616 | [488] (SceneLoader): Going to dispose the current scene: ProfileSelection
2023-09-27 07:30:15.627 | [488] (SceneLoader): Going to load sceneName: BookAssignment
2023-09-27 07:30:17.867 debug INFO SpeechService.swift:114 init() 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>53  (SpeechService): SpeechService init
2023-09-27 07:30:18.789 debug INFO SpeechService.swift:250 configureAudioEngine() 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>39  (SpeechService): Echo cancellation enabled
2023-09-27 07:30:18.849 | [616] (Analytics): Analytics - Going to send TrackEvent: Experiment Viewed
2023-09-27 07:30:18.849 | [616] (Analytics): Analytics - TrackEvent successfully sent: Experiment Viewed
2023-09-27 07:30:18.866 debug INFO SpeechService.swift:393 setupStream() 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>70  (SpeechService): Setting custom CKS params
2023-09-27 07:30:18.867 debug INFO SpeechService.swift:405 setupStream() 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>12  (SpeechService): Loading model 20220419_per640
2023-09-27 07:30:18.875 | [616] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"Experiment Viewed","properties":{"variationId": "1","experimentId": "\"model-spec\""},"anonymousId":"********-*********-****-************","messageId":"054d1c92-9f07-495a-927c-8076b2d3fed5","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:18.8498330Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:20.738 debug INFO SpeechService.swift:600 setAudioCapturePermission(permission:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>68  (SpeechService): Setting audio capture permission to false
2023-09-27 07:30:20.772 debug INFO SpeechService.swift:191 handleRouteChange(notification:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>72  (SpeechService): Route change category changed to: AVAudioSessionCategory(_rawValue: AVAudioSessionCategoryPlayAndRecord)
2023-09-27 07:30:20.776 debug INFO SpeechService.swift:191 handleRouteChange(notification:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>92  (SpeechService): Route change category changed to: AVAudioSessionCategory(_rawValue: AVAudioSessionCategoryPlayAndRecord)
2023-09-27 07:30:22.718 | [710] (BookSelectionScreenplaysController): Leveling onboarding access granted
2023-09-27 07:30:22.719 | [710] (SceneLoader): After executing Init of sceneName: BookAssignment
2023-09-27 07:30:22.733 | [711] (SceneLoader): Hiding the Loading screen for sceneName: BookAssignment
2023-09-27 07:30:23.251 | [742] (Analytics): Analytics - Going to send ScreenEvent: ProfileBooksScreen
2023-09-27 07:30:23.252 | [742] (Analytics): Analytics - ScreenEvent successfully sent: ProfileBooksScreen
2023-09-27 07:30:23.253 | [742] (Analytics): Analytics - Going to send ScreenEvent: ProfileBooksScreen
2023-09-27 07:30:23.253 | [742] (Analytics): Analytics - ScreenEvent successfully sent: ProfileBooksScreen
2023-09-27 07:30:23.253 | [742] (SceneLoader): After executing PostInit of sceneName: BookAssignment
2023-09-27 07:30:23.263 | [742] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"screen","name":"ProfileBooksScreen","category":"","properties":{},"anonymousId":"********-*********-****-************","messageId":"548c9fa9-0404-4f8b-89f0-f167a3f8313a","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:23.2525720Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:23.277 | [743] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"screen","name":"ProfileBooksScreen","category":"","properties":{},"anonymousId":"********-*********-****-************","messageId":"a0813ca4-14b4-4560-8aa2-a41f433ed740","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:23.2535550Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:35.075 | [1422] (SceneLoader): LoadScene gets called for sceneName: DigitalBookReading
2023-09-27 07:30:35.076 | [1422] (SceneLoader): Going to display the Loading screen for sceneName: DigitalBookReading
2023-09-27 07:30:35.584 | [1453] (SceneLoader): Going to dispose the current scene: BookAssignment
2023-09-27 07:30:35.610 | [1453] (BookSelectionScreenplaysController): Disposed
2023-09-27 07:30:35.611 | [1453] (SceneLoader): Going to load sceneName: DigitalBookReading
2023-09-27 07:30:36.101 | [1474] (Analytics): Analytics - Going to send ScreenEvent: ReadingScreen
2023-09-27 07:30:36.102 | [1474] (Analytics): Analytics - ScreenEvent successfully sent: ReadingScreen
2023-09-27 07:30:36.116 | [1474] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"screen","name":"ReadingScreen","category":"","properties":{"level": "1","isOnTrial": "false","bookType": "\"digital\""},"anonymousId":"********-*********-****-************","messageId":"f39bb48b-d058-43dd-8c1e-a0134ce96539","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:36.1026530Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:36.154 | [1477] (BookModel): StartBookPages. index: 0.
2023-09-27 07:30:36.156 | [1477] (ReadingProgressService): ReadingProgress - init pages
2023-09-27 07:30:36.156 | [1477] (ReadingProgressService): Pages init
2023-09-27 07:30:36.157 | [1477] (ScreenplayManager): StartScreenplay ReadingIntro_digital
2023-09-27 07:30:36.167 | [1477] (Analytics): Analytics - Going to send TrackEvent: Game Started
2023-09-27 07:30:36.168 | [1477] (Analytics): Analytics - TrackEvent successfully sent: Game Started
2023-09-27 07:30:36.168 | [1477] (BookModel): StartReadingSession
2023-09-27 07:30:36.168 | [1477] (BookModel): New book reading initialized
2023-09-27 07:30:36.196 | [1479] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"Game Started","properties":{"bookId": "\"64ff65ca18f9ae5ee0f7f187\"","book": "\"Cat in a Cap\"","level": "1","isOnTrial": "false","sessionId": "\"1695817836164\"","bookType": "\"digital\""},"anonymousId":"********-*********-****-************","messageId":"9eeb2c79-ebc9-447f-a991-a51d35ed6c79","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:36.1680350Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:36.197 | [1479] (SegmentAnalytics): SegmentLogger: Message: Segment.io performing flush
2023-09-27 07:30:36.318 | [1487] (SceneLoader): After executing Init of sceneName: DigitalBookReading
2023-09-27 07:30:36.333 | [1488] (SceneLoader): Hiding the Loading screen for sceneName: DigitalBookReading
2023-09-27 07:30:36.835 | [1517] (SegmentAnalytics): SegmentLogger: Message: Segment.io uploaded /var/mobile/Containers/Data/Application/A8B2F803-343C-4D8E-96B5-6AD7F4384D4E/Documents/segment.data/CzJDxw8j662lXDaN39eZpyoOrBka1YFC/events/CzJDxw8j662lXDaN39eZpyoOrBka1YFC-95.json
2023-09-27 07:30:36.852 | [1518] (SceneLoader): After executing PostInit of sceneName: DigitalBookReading
2023-09-27 07:30:44.892 | [1998] (ReadingProgressService): ReadingProgress - init pages
2023-09-27 07:30:44.893 | [1998] (ReadingProgressService): Pages init
2023-09-27 07:30:44.907 | [1998] (Analytics): Analytics - Going to send TrackEvent: Help Request
2023-09-27 07:30:44.909 | [1998] (Analytics): Analytics - TrackEvent successfully sent: Help Request
2023-09-27 07:30:44.954 debug INFO SpeechService.swift:457 setCKSTargets(_:withExtra:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>04  (SpeechService): Setting CKS targets
2023-09-27 07:30:44.954 | [1998] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"Help Request","properties":{"bookId": "\"64ff65ca18f9ae5ee0f7f187\"","tokenEndPosition": "1","book": "\"Cat in a Cap\"","word": "\"a\"","level": "1","isOnTrial": "false","sessionId": "1695817836164","tokenStartPosition": "0","page": "1","bookType": "\"digital\""},"anonymousId":"********-*********-****-************","messageId":"2c304b48-79d5-4256-9990-81fe17bcd9a7","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:44.9097790Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:44.965 | [1998] (ReadingProgressService): New targets set: a, cat, a, cap
2023-09-27 07:30:44.969 | [1998] (ReadingProgressService): Received an empty speechData.
2023-09-27 07:30:48.108 debug INFO SpeechService.swift:457 setCKSTargets(_:withExtra:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>37  (SpeechService): Setting CKS targets
2023-09-27 07:30:48.113 | [2183] (ReadingProgressService): New targets set: a, cat, a, cap
2023-09-27 07:30:48.114 debug INFO SpeechService.swift:457 setCKSTargets(_:withExtra:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>47  (SpeechService): Setting CKS targets
2023-09-27 07:30:48.116 | [2183] (ReadingProgressService): New targets set: a, cat, a, cap
2023-09-27 07:30:48.118 debug INFO SpeechService.swift:457 setCKSTargets(_:withExtra:) 31504_DDCEB77D-FCD9-5D75-B6C6-5B92D36A03A0 2.0.17 1386 en-US 15.7.3 1<PHONE_NUMBER>54  (SpeechService): Setting CKS targets
2023-09-27 07:30:48.120 | [2183] (ReadingProgressService): New targets set: a, cat, a, cap
2023-09-27 07:30:48.121 | [2183] (ScreenplayManager): FinishScreenPlay ReadingIntro_digital
2023-09-27 07:30:51.009 | [2354] (ReadingProgressService): AllWordsReadingComplete
2023-09-27 07:30:51.034 | [2354] (ReadingProgressService): FinishPagesReading - starsCount: 2
2023-09-27 07:30:51.035 | [2354] (Analytics): Analytics - Going to send TrackEvent: Page Completed
2023-09-27 07:30:51.036 | [2354] (Analytics): Analytics - TrackEvent successfully sent: Page Completed
2023-09-27 07:30:51.047 | [2354] (SegmentAnalytics): SegmentLogger: Message: Segment.io running {"type":"track","event":"Page Completed","properties":{"bookId": "\"64ff65ca18f9ae5ee0f7f187\"","book": "\"Cat in a Cap\"","endOfPageHelpCount": "0","wordCount": "2","wordsTracked": "2","helpCount": "0","isOnTrial": "false","sessionId": "1695817836164","duration": "6.140915","page": "0","bookLevel": "1","bookType": "\"digital\""},"anonymousId":"********-*********-****-************","messageId":"320d4bab-d829-4ca0-8021-ca9611f9c8a3","userId":"********-*********-****-************","timestamp":"2023-09-27T12:30:51.0363080Z","context":{"device": {"id": "EDEFB2FB-410B-4B5C-B4B5-265028961582","name": "Sarah’s iPad","model": "iPad5,3","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.17","name": "Ello","build": "1386"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 264,"width": 2048},"locale": "en","library": {"version": "2.2.0","name": "Analytics-CSharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "15.7.3","name": "iPadOS"},"traits": {"userId": "********-*********-****-************","phoneNumber": "+***********","email": "****@gmail.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-09-27 07:30:51.103 | [2354] (ReadingProgressService): StarCollectStarScreenPlay

hey @sandolkakos, thanks a lot for posting the logs! it's very helpful on spotting the issue
from the log, looks like everything runs as expected. the following indicates that analytics is up and running:
2023-09-27 07:30:07.693 | [36] (SegmentAnalytics): SegmentLogger: Message: Analytics starting = True

and below indicates the events being persisted to disk:
2023-09-27 07:30:07.727 | [37] (SegmentAnalytics): SegmentLogger: Message: Segment.io running  ************

and then below indicates the events are successfully uploaded to the server with no problem. as you can find in this line, this log is only outputted if upload is completed.
2023-09-27 07:30:36.835 | [1517] (SegmentAnalytics): SegmentLogger: Message: Segment.io uploaded /var/mobile/Containers/Data/Application/A8B2F803-343C-4D8E-96B5-6AD7F4384D4E/Documents/segment.data/CzJDxw8j662lXDaN39eZpyoOrBka1YFC/events/CzJDxw8j662lXDaN39eZpyoOrBka1YFC-95.json

so let's try following:

make sure if you are using ConcurrentList if you followed our sample code to build a singleton.
double check on segment's workplace debugger, see if you received the events above the uploaded log (i.e. ReadingScreen, Game Started, etc.)
Switch to InMemoryStorageProvider like this, see if the issue still persists. if so, we rule out the possibility the issue is caused by storage
Switch to a different HttpClientProvider (if you use the default one, switch to UnityHttpClientProvider, and verse-vise), see if the issue still persists. if so, we rule out the possibility the issue is caused by the sdk. if you switch to UnityHttpClientProvider, you can add more logs to see if the request went through.

thanks for bearing with us on this.

@sandolkakos I just noticed that all the events has:
"library": {"version": "2.2.0","name": "Analytics-CSharp"}

double check if you're using 2.3.0. that device might use a cache version of the app. I'd suggest completely uninstall the app before re-installing

Sorry for the delay to reply you here @wenxi-zeng, last week was super rushed. But I was finally able to find one of our devices where I could reproduce this issue and will continue the tests.
The device is a iPad Mini 2 - iOS 12.5.7.

Replying your questions separately:

@sandolkakos I just noticed that all the events has:
"library": {"version": "2.2.0","name": "Analytics-CSharp"}

double check if you're using 2.3.0. that device might use a cache version of the app. I'd suggest completely uninstall the app before re-installing

That was my fault, cause I did not notice the context is initialized with hard-coded library values. But I can confirm we are using the correct package version: 2.3.0.

make sure if you are using ConcurrentList if you followed our sample code to build a singleton.

That is correct. I've just adapted our code to follow your sample code.

double check on segment's workplace debugger, see if you received the events above the uploaded log (i.e. ReadingScreen, Game Started, etc.)

Using same build number and same Wi-Fi connection, I can see Segment Debugger receiving events from devices:

iPad Air 2 - iOS 15.7.8
iPad Air 5 - iOS 16.6.1

But not from device:

iPad Mini 2 - iOS 12.5.7

Switch to InMemoryStorageProvider like this, see if the issue still persists. if so, we rule out the possibility the issue is caused by storage

I'm gonna test this one 👍🏽

Switch to a different HttpClientProvider (if you use the default one, switch to UnityHttpClientProvider, and verse-vise), see if the issue still persists. if so, we rule out the possibility the issue is caused by the sdk. if you switch to UnityHttpClientProvider, you can add more logs to see if the request went through.

I'm gonna also test this one 👍🏽

Hey @wenxi-zeng, I've implemented my own HttpClientProvider and here you can see the logs.
The Post request is getting a response with StatusCode = 200, meaning Segment receives the data and give us an Okay.
public sealed class ElloHttpClient : HTTPClient
{
    private readonly ILogger _logger;

    public ElloHttpClient(string apiKey, string apiHost, string cdnHost, ILogger logger)
        : base(apiKey, apiHost, cdnHost)
    {
        _logger = logger;
    }

    public override async Task<Response> DoGet(string url)
    {
        _logger.Log($"ElloHttpClient.DoGet - Url: {url}");

        UnityWebRequest request = UnityWebRequest.Get(url);
        await request.SendWebRequest();

        _logger.Log($"ElloHttpClient.DoGet - StatusCode: {request.responseCode}");
        _logger.Log($"ElloHttpClient.DoGet - Response: {request.downloadHandler.text}");

        return new Response { StatusCode = (int)request.responseCode, Content = request.downloadHandler.text };
    }

    public override async Task<Response> DoPost(string url, byte[] data)
    {
        _logger.Log($"ElloHttpClient.DoPost - Url: {url}");
        _logger.Log($"ElloHttpClient.DoPost - Data: {string.Join(",", data)}");

        string postData = Encoding.UTF8.GetString(data);
        _logger.Log($"ElloHttpClient.DoPost - PostData: {postData}");

        UnityWebRequest request = UnityWebRequest.Post(url, postData, "application/json");
        await request.SendWebRequest();

        _logger.Log($"ElloHttpClient.DoPost - StatusCode: {request.responseCode}");
        _logger.Log($"ElloHttpClient.DoPost - Response: {request.downloadHandler.text}");

        return new Response { StatusCode = (int)request.responseCode, Content = request.downloadHandler.text };
    }
}

Logs:
2023-10-05 20:35:35.368 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 1<PHONE_NUMBER>54  2023-10-05 17:35:35.368 | [820] (Analytics): Analytics - Going to send TrackEvent: App Initialized
2023-10-05 20:35:35.371 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 1<PHONE_NUMBER>03  2023-10-05 17:35:35.370 | [820] (Analytics): Analytics - TrackEvent successfully sent: App Initialized
2023-10-05 20:35:35.444 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 10<PHONE_NUMBER>07  2023-10-05 17:35:35.419 | [821] (SegmentPlatform): SegmentLogger: Message: Segment.io running {"type":"track","event":"App Initialized","properties":{"duration": "20310"},"anonymousId":"c087b137-8f47-44e3-bd9e-865e6f46b0ac","messageId":"c793d969-810b-4cf4-8e15-ab2f30dce0e6","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-05T20:35:35.3700380Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon’s iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1402"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-10-05 20:35:48.421 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 8<PHONE_NUMBER>30  2023-10-05 17:35:48.419 | [1593] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush
2023-10-05 20:35:48.457 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 10<PHONE_NUMBER>36  2023-10-05 17:35:48.456 | [1595] (SegmentPlatform): ElloHttpClient.DoPost - Url: https://api.segment.io/v1/b
2023-10-05 20:35:48.488 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 10<PHONE_NUMBER>81  2023-10-05 17:35:48.471 | [1596] (SegmentPlatform): ElloHttpClient.DoPost - Data: 123,34,98,97,116,99,104,34,58,91,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,32,73,110,105,116,105,97,108,105,122,105,110,103,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,99,48,56,55,98,49,51,55,45,56,102,52,55,45,52,52,101,51,45,98,100,57,101,45,56,54,53,101,54,102,52,54,98,48,97,99,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,55,98,50,99,56,101,100,102,45,48,98,100,55,45,52,99,51,101,45,57,56,51,49,45,50,101,49,52,99,57,99,56,51,52,99,50,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,53,84,50,48,58,51,53,58,50,48,46,53,51,52,49,51,48,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,226,128,153,115,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,50,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,44,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,108,105,99,97,116,105,111,110,32,79,112,101,110,101,100,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,99,48,56,55,98,49,51,55,45,56,102,52,55,45,52,52,101,51,45,98,100,57,101,45,56,54,53,101,54,102,52,54,98,48,97,99,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,99,51,99,56,97,56,100,55,45,55,56,100,48,45,52,53,54,102,45,56,98,57,53,45,100,55,54,48,98,102,48,100,102,56,48,50,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,53,84,50,48,58,51,53,58,50,48,46,57,53,51,54,50,50,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,226,128,153,115,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,50,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,44,123,34,116,121,112,101,34,58,34,105,100,101,110,116,105,102,121,34,44,34,116,114,97,105,116,115,34,58,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,99,48,56,55,98,49,51,55,45,56,102,52,55,45,52,52,101,51,45,98,100,57,101,45,56,54,53,101,54,102,52,54,98,48,97,99,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,53,99,102,98,102,52,97,50,45,100,99,49,52,45,52,56,56,102,45,97,99,57,48,45,53,100,57,56,100,100,54,101,52,50,101,50,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,53,84,50,48,58,51,53,58,50,49,46,53,48,49,57,53,49,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,226,128,153,115,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,50,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,44,34,116,114,97,105,116,115,34,58,32,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,44,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,32,73,110,105,116,105,97,108,105,122,101,100,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,34,100,117,114,97,116,105,111,110,34,58,32,34,50,48,51,49,48,34,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,99,48,56,55,98,49,51,55,45,56,102,52,55,45,52,52,101,51,45,98,100,57,101,45,56,54,53,101,54,102,52,54,98,48,97,99,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,99,55,57,51,100,57,54,57,45,56,49,48,98,45,52,99,102,52,45,56,101,49,53,45,97,98,50,102,51,48,100,99,101,48,101,54,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,53,84,50,48,58,51,53,58,51,53,46,51,55,48,48,51,56,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,226,128,153,115,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,50,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,44,34,116,114,97,105,116,115,34,58,32,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,93,44,34,115,101,110,116,65,116,34,58,34,50,48,50,51,45,49,48,45,48,53,84,50,48,58,51,53,58,52,56,46,52,50,49,55,48,51,48,90,34,44,34,119,114,105,116,101,75,101,121,34,58,34,67,122,74,68,120,119,56,106,54,54,50,108,88,68,97,78,51,57,101,90,112,121,111,79,114,66,107,97,49,89,70,67,34,125
2023-10-05 20:35:48.503 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 10<PHONE_NUMBER>97  2023-10-05 17:35:48.489 | [1597] (SegmentPlatform): ElloHttpClient.DoPost - PostData: {"batch":[{"type":"track","event":"App Initializing","properties":{},"anonymousId":"c087b137-8f47-44e3-bd9e-865e6f46b0ac","messageId":"7b2c8edf-0bd7-4c3e-9831-2e14c9c834c2","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-05T20:35:20.5341300Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon’s iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1402"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[],{"type":"track","event":"Application Opened","properties":{},"anonymousId":"c087b137-8f47-44e3-bd9e-865e6f46b0ac","messageId":"c3c8a8d7-78d0-456f-8b95-d760bf0df802","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-05T20:35:20.9536220Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon’s iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1402"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[],{"type":"identify","traits":{"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"},"anonymousId":"c087b137-8f47-44e3-bd9e-865e6f46b0ac","messageId":"5cfbf4a2-dc14-488f-ac90-5d98dd6e42e2","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-05T20:35:21.5019510Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon’s iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1402"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[],{"type":"track","event":"App Initialized","properties":{"duration": "20310"},"anonymousId":"c087b137-8f47-44e3-bd9e-865e6f46b0ac","messageId":"c793d969-810b-4cf4-8e15-ab2f30dce0e6","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-05T20:35:35.3700380Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon’s iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1402"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]],"sentAt":"2023-10-05T20:35:48.4217030Z","writeKey":"CzJDxw8j662lXDaN39eZpyoOrBka1YFC"}
2023-10-05 20:35:48.898 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 1<PHONE_NUMBER>20  2023-10-05 17:35:48.896 | [1622] (SegmentPlatform): ElloHttpClient.DoPost - StatusCode: 200
2023-10-05 20:35:48.899 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 1<PHONE_NUMBER>21  2023-10-05 17:35:48.898 | [1622] (SegmentPlatform): ElloHttpClient.DoPost - Response: {\n  "success": true\n}
2023-10-05 20:35:48.9 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 1<PHONE_NUMBER>01  2023-10-05 17:35:48.899 | [1622] (SegmentPlatform): SegmentLogger: Message: Segment.io uploaded /var/mobile/Containers/Data/Application/CDC6BD58-F49B-42FE-A7D8-09186C3F28A8/Documents/segment.data/CzJDxw8j662lXDaN39eZpyoOrBka1YFC/events/CzJDxw8j662lXDaN39eZpyoOrBka1YFC-17.json
2023-10-05 20:36:18.423 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 11<PHONE_NUMBER>52  2023-10-05 17:36:18.422 | [3363] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush
2023-10-05 20:36:48.435 +0000 UTC debug INFO :0  31504_F87B375C-7760-500F-A23A-E8A98304E022 2.0.18 1402 en-BR 12.5.7 3<PHONE_NUMBER>29  2023-10-05 17:36:48.429 | [5111] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush

thanks @sandolkakos! were you able to see the events in segment debugger and in the destination with your own HttpClientProvider?

hey @sandolkakos I believe I found the issue. the batch file is malformed because of an interrupted event write, which causes uploading to be failed. I'll get a release out tomorrow or latest next Monday. thanks again for collaborating with us on finding the root cause.

Curious, we're receiving 200 status with success: true, would malformed data provide such a response from the request response?

thanks @sandolkakos! were you able to see the events in segment debugger and in the destination with your own HttpClientProvider?

No, it was still the same. No events in Segment Debugger and neither in MixPanel.

hey @sandolkakos ~I believe I found the issue. the batch file is malformed because of an interrupted event write, which causes uploading to be failed. you can verify this by formatting the json string in ElloHttpClient.DoPost - PostData. the first event in the batch only has half the content.~
it's actually more complicated than I thought. each event in the batch file has no ending bracket. but in Segment.io running log, the event is serialized properly. it might be that outdated ios version doing something different on write.
can you also replace the storage provider with InMemoryStorageProvider, see if the in memory batch file is still malformed?

Wow, just tested the build I've triggered with the InMemoryStorageProvider and the events is getting displayed on Segment Debugger and also in MixPanel.
logs:
2023-10-06 02:11:37.332 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 1<PHONE_NUMBER>17  2023-10-05 23:11:37.330 | [778] (Analytics): Analytics - TrackEvent successfully sent: App Initialized
2023-10-06 02:11:37.381 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 6<PHONE_NUMBER>25  2023-10-05 23:11:37.380 | [779] (SegmentPlatform): SegmentLogger: Message: Segment.io running {"type":"track","event":"App Initialized","properties":{"duration": "20804"},"anonymousId":"68d78bbe-127c-4a4c-8768-4ad7a255afaa","messageId":"87eaef67-1846-4c7a-8f7d-4b2578cad2c8","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-06T02:11:37.3303740Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1403"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}
2023-10-06 02:11:50.663 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 6<PHONE_NUMBER>65  2023-10-05 23:11:50.662 | [1566] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush
2023-10-06 02:11:50.703 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 6<PHONE_NUMBER>49  2023-10-05 23:11:50.702 | [1569] (SegmentPlatform): ElloHttpClient.DoPost - Url: https://api.segment.io/v1/b
2023-10-06 02:11:50.714 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 6<PHONE_NUMBER>50  2023-10-05 23:11:50.710 | [1569] (SegmentPlatform): ElloHttpClient.DoPost - Data: 123,34,98,97,116,99,104,34,58,91,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,32,73,110,105,116,105,97,108,105,122,105,110,103,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,54,56,100,55,56,98,98,101,45,49,50,55,99,45,52,97,52,99,45,56,55,54,56,45,52,97,100,55,97,50,53,53,97,102,97,97,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,98,50,101,101,102,97,101,98,45,97,50,53,102,45,52,100,55,52,45,97,55,52,99,45,49,54,54,56,55,98,54,51,53,101,57,102,34,44,34,117,115,101,114,73,100,34,58,110,117,108,108,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,54,84,48,50,58,49,49,58,50,51,46,48,48,49,54,54,48,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,51,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,125,125,44,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,108,105,99,97,116,105,111,110,32,79,112,101,110,101,100,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,54,56,100,55,56,98,98,101,45,49,50,55,99,45,52,97,52,99,45,56,55,54,56,45,52,97,100,55,97,50,53,53,97,102,97,97,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,102,53,57,55,98,54,54,100,45,50,51,53,50,45,52,51,102,52,45,98,101,97,57,45,51,57,100,102,52,51,98,99,49,98,99,101,34,44,34,117,115,101,114,73,100,34,58,110,117,108,108,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,54,84,48,50,58,49,49,58,50,51,46,48,53,48,48,52,54,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,51,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,125,125,44,123,34,116,121,112,101,34,58,34,105,100,101,110,116,105,102,121,34,44,34,116,114,97,105,116,115,34,58,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,54,56,100,55,56,98,98,101,45,49,50,55,99,45,52,97,52,99,45,56,55,54,56,45,52,97,100,55,97,50,53,53,97,102,97,97,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,57,98,99,56,56,57,102,49,45,53,51,53,57,45,52,98,50,101,45,97,56,98,56,45,101,57,97,53,102,48,51,100,48,100,49,98,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,54,84,48,50,58,49,49,58,50,52,46,48,54,55,50,56,54,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,51,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,44,34,116,114,97,105,116,115,34,58,32,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,125,125,44,123,34,116,121,112,101,34,58,34,116,114,97,99,107,34,44,34,101,118,101,110,116,34,58,34,65,112,112,32,73,110,105,116,105,97,108,105,122,101,100,34,44,34,112,114,111,112,101,114,116,105,101,115,34,58,123,34,100,117,114,97,116,105,111,110,34,58,32,34,50,48,56,48,52,34,125,44,34,97,110,111,110,121,109,111,117,115,73,100,34,58,34,54,56,100,55,56,98,98,101,45,49,50,55,99,45,52,97,52,99,45,56,55,54,56,45,52,97,100,55,97,50,53,53,97,102,97,97,34,44,34,109,101,115,115,97,103,101,73,100,34,58,34,56,55,101,97,101,102,54,55,45,49,56,52,54,45,52,99,55,97,45,56,102,55,100,45,52,98,50,53,55,56,99,97,100,50,99,56,34,44,34,117,115,101,114,73,100,34,58,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,116,105,109,101,115,116,97,109,112,34,58,34,50,48,50,51,45,49,48,45,48,54,84,48,50,58,49,49,58,51,55,46,51,51,48,51,55,52,48,90,34,44,34,99,111,110,116,101,120,116,34,58,123,34,100,101,118,105,99,101,34,58,32,123,34,105,100,34,58,32,34,70,65,51,52,65,56,69,51,45,48,70,51,70,45,52,57,51,51,45,66,54,53,51,45,67,68,50,68,51,67,48,56,66,54,55,51,34,44,34,110,97,109,101,34,58,32,34,77,97,114,108,108,111,110,32,105,80,97,100,32,77,105,110,105,32,50,34,44,34,109,111,100,101,108,34,58,32,34,105,80,97,100,52,44,52,34,44,34,116,121,112,101,34,58,32,34,105,111,115,34,44,34,112,108,97,116,102,111,114,109,34,58,32,34,73,80,104,111,110,101,80,108,97,121,101,114,34,44,34,109,97,110,117,102,97,99,116,117,114,101,114,34,58,32,34,65,112,112,108,101,34,125,44,34,97,112,112,34,58,32,123,34,110,97,109,101,115,112,97,99,101,34,58,32,34,99,111,109,46,116,114,117,115,116,108,101,46,114,101,97,116,99,104,34,44,34,118,101,114,115,105,111,110,34,58,32,34,50,46,48,46,49,56,34,44,34,110,97,109,101,34,58,32,34,69,108,108,111,34,44,34,98,117,105,108,100,34,58,32,34,49,52,48,51,34,125,44,34,112,108,97,116,102,111,114,109,34,58,32,34,85,110,105,116,121,34,44,34,116,105,109,101,122,111,110,101,34,58,32,34,76,111,99,97,108,34,44,34,115,99,114,101,101,110,34,58,32,123,34,104,101,105,103,104,116,34,58,32,49,53,51,54,44,34,100,112,105,34,58,32,51,50,54,44,34,119,105,100,116,104,34,58,32,50,48,52,56,125,44,34,108,111,99,97,108,101,34,58,32,34,101,110,34,44,34,108,105,98,114,97,114,121,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,50,46,51,46,48,34,44,34,110,97,109,101,34,58,32,34,99,111,109,46,115,101,103,109,101,110,116,46,97,110,97,108,121,116,105,99,115,46,99,115,104,97,114,112,34,125,44,34,110,101,116,119,111,114,107,34,58,32,123,34,119,105,102,105,34,58,32,116,114,117,101,44,34,99,97,114,114,105,101,114,34,58,32,102,97,108,115,101,125,44,34,111,115,34,58,32,123,34,118,101,114,115,105,111,110,34,58,32,34,49,50,46,53,46,55,34,44,34,110,97,109,101,34,58,32,34,105,79,83,34,125,44,34,116,114,97,105,116,115,34,58,32,123,34,117,115,101,114,73,100,34,58,32,34,97,55,97,56,97,57,51,48,45,57,53,50,97,45,52,98,99,101,45,97,57,53,51,45,57,48,99,50,102,102,57,99,54,98,98,50,34,44,34,112,104,111,110,101,78,117,109,98,101,114,34,58,32,34,43,49,54,53,48,53,53,53,49,50,51,52,34,44,34,101,109,97,105,108,34,58,32,34,101,108,108,111,64,104,101,108,108,111,101,108,108,111,46,99,111,109,34,125,125,44,34,105,110,116,101,103,114,97,116,105,111,110,115,34,58,123,125,44,34,109,101,116,114,105,99,115,34,58,110,117,108,108,44,34,95,109,101,116,97,100,97,116,97,34,58,123,34,98,117,110,100,108,101,100,34,58,91,93,44,34,117,110,98,117,110,100,108,101,100,34,58,91,34,65,99,116,105,118,101,67,97,109,112,97,105,103,110,34,44,34,77,105,120,112,97,110,101,108,34,93,44,34,98,117,110,100,108,101,100,73,100,115,34,58,91,93,125,125,93,44,34,115,101,110,116,65,116,34,58,34,50,48,50,51,45,49,48,45,48,54,84,48,50,58,49,49,58,53,48,46,54,57,48,51,56,55,48,90,34,44,34,119,114,105,116,101,75,101,121,34,58,34,67,122,74,68,120,119,56,106,54,54,50,108,88,68,97,78,51,57,101,90,112,121,111,79,114,66,107,97,49,89,70,67,34,125
2023-10-06 02:11:50.716 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 6<PHONE_NUMBER>21  2023-10-05 23:11:50.714 | [1569] (SegmentPlatform): ElloHttpClient.DoPost - PostData: {"batch":[{"type":"track","event":"App Initializing","properties":{},"anonymousId":"68d78bbe-127c-4a4c-8768-4ad7a255afaa","messageId":"b2eefaeb-a25f-4d74-a74c-16687b635e9f","userId":null,"timestamp":"2023-10-06T02:11:23.0016600Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1403"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}},{"type":"track","event":"Application Opened","properties":{},"anonymousId":"68d78bbe-127c-4a4c-8768-4ad7a255afaa","messageId":"f597b66d-2352-43f4-bea9-39df43bc1bce","userId":null,"timestamp":"2023-10-06T02:11:23.0500460Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1403"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}},{"type":"identify","traits":{"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"},"anonymousId":"68d78bbe-127c-4a4c-8768-4ad7a255afaa","messageId":"9bc889f1-5359-4b2e-a8b8-e9a5f03d0d1b","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-06T02:11:24.0672860Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1403"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}},{"type":"track","event":"App Initialized","properties":{"duration": "20804"},"anonymousId":"68d78bbe-127c-4a4c-8768-4ad7a255afaa","messageId":"87eaef67-1846-4c7a-8f7d-4b2578cad2c8","userId":"a7a8a930-952a-4bce-a953-90c2ff9c6bb2","timestamp":"2023-10-06T02:11:37.3303740Z","context":{"device": {"id": "FA34A8E3-0F3F-4933-B653-CD2D3C08B673","name": "Marllon iPad Mini 2","model": "iPad4,4","type": "ios","platform": "IPhonePlayer","manufacturer": "Apple"},"app": {"namespace": "com.trustle.reatch","version": "2.0.18","name": "Ello","build": "1403"},"platform": "Unity","timezone": "Local","screen": {"height": 1536,"dpi": 326,"width": 2048},"locale": "en","library": {"version": "2.3.0","name": "com.segment.analytics.csharp"},"network": {"wifi": true,"carrier": false},"os": {"version": "12.5.7","name": "iOS"},"traits": {"userId": "a7a8a930-952a-4bce-a953-90c2ff9c6bb2","phoneNumber": "+16505551234","email": "ello@helloello.com"}},"integrations":{},"metrics":null,"_metadata":{"bundled":[],"unbundled":["ActiveCampaign","Mixpanel"],"bundledIds":[]}}],"sentAt":"2023-10-06T02:11:50.6903870Z","writeKey":"CzJDxw8j662lXDaN39eZpyoOrBka1YFC"}
2023-10-06 02:11:53.301 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 1<PHONE_NUMBER>65  2023-10-05 23:11:53.300 | [1719] (SegmentPlatform): ElloHttpClient.DoPost - StatusCode: 200
2023-10-06 02:11:53.302 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 1<PHONE_NUMBER>24  2023-10-05 23:11:53.301 | [1719] (SegmentPlatform): ElloHttpClient.DoPost - Response: {\n  "success": true\n}
2023-10-06 02:11:53.303 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 1<PHONE_NUMBER>38  2023-10-05 23:11:53.302 | [1719] (SegmentPlatform): SegmentLogger: Message: Segment.io uploaded CzJDxw8j662lXDaN39eZpyoOrBka1YFC-0.json
2023-10-06 02:12:20.678 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 9<PHONE_NUMBER>33  2023-10-05 23:12:20.677 | [3336] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush
2023-10-06 02:12:50.668 +0000 UTC debug INFO :0  31504_C1827BB7-4D0C-590F-B6A9-A236C11036B5 2.0.18 1403 en-BR 12.5.7 9<PHONE_NUMBER>91  2023-10-05 23:12:50.667 | [5105] (SegmentPlatform): SegmentLogger: Message: Segment.io performing flush

Print Screens:

Curious, we're receiving 200 status with success: true, would malformed data provide such a response from the request response?

yes. this is by design on segment's backend. it returns 200 as long as the call succeeds regardless the content. I know this is very counter-intuitive and confusing. but it's out of the SDK's control

@sandolkakos that's awesome! now we can finally confirm the root cause is the MS FileStream.Seek API behaves differently on ios 12. it does not start from position end + 1, but from end. that's why all the events are missing ending brackets.
I'll get an alpha version out today to fix this issue. please bear with me, we are almost there. thank you so much for being so collaborative and patient with us.

@sandolkakos that's awesome! now we can finally confirm the root cause is the MS FileStream.Seek API behaves differently on ios 12. it does not start from position end + 1, but from end. that's why all the events are missing ending brackets.
I'll get an alpha version out today to fix this issue. please bear with me, we are almost there. thank you so much for being so collaborative and patient with us.
FYI, you have full control over the storage by writing your own storage provider. so if you wanna explore it in the meanwhile, try it out. :)

We are gonna wait for the fix. Thanks to you as well for always giving us directions here.

@wenxi-zeng Can you please help scrub some of the log lines

hey @sandolkakos after further investigation, we found out the root cause actually is due to non-ascii characters presented in the payload, causing incorrect length of measure when writing data to file. please try out 2.3.1-alpha.2, it now supports unicode characters. let us know if it fixes the issue. we'll get the official 2.3.1 out once it's confirmed.
in case you're interested, the result of
Console.WriteLine("Length of \"Marllon’s iPad Mini 2\": " + "Marllon’s iPad Mini 2".Length);
Console.WriteLine("Bytes of \"Marllon’s iPad Mini 2\": " + "Marllon’s iPad Mini 2".GetBytes().Length);

turned out to be:
Length of "Marllon’s iPad Mini 2": 21
Bytes of "Marllon’s iPad Mini 2": 23

Hi @wenxi-zeng, I can confirm that special character is the cause of this issue.
I've removed that special character, restarted my device to kill any cached device name.
Once I opened our App, the events got received in Segment and MixPanel. 🙌🏽
Note: On iPad Air 5 - iOS 16.6.1 this issue does not happen.
I'm gonna test your new package version and will let you know the results.

🙌  great to hear that! yes. os behaves differently. some os I tested replace unicode character to it's \u counterpart in serialization, which works fine. some os pass it as is, which causes problem.
I also reproduced this issue on iphone 14 + ios 16.6.1, if I track with unicode char, no event are delivered. but with 2.3.1-alpha.2, there is no problem

We also realized the reason why we haven't been seeing this prevalently on our users running iOS 16+ is because iOS 16 introduced a privacy feature that defaults the device name without this entitlement:
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name

I can confirm the version 2.3.1-alpha.2 fixes the issue:

Thanks a lot, @wenxi-zeng !

@al2114 that makes so much sense! I was doing an explicit analytics.Track("Marllon’s iPad Mini") in ios 16 and reproduced this issue.
@sandolkakos  awesome!!!! I'm gonna get the official 2.3.1 out.
thank you all for helping me to get this far!

2.3.1 is now available in openupm. closing this issue out.
thank you @al2114 and @sandolkakos again! it's been a pleasure!