Skip to content
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

ErrorLoadingStorage #80

Closed
cerealexx opened this issue May 20, 2024 · 12 comments
Closed

ErrorLoadingStorage #80

cerealexx opened this issue May 20, 2024 · 12 comments

Comments

@cerealexx
Copy link

Lately we've been spammed with these errors in iOS devices from Segment plugin:

ErrorLoadingStorage state.dart in PersistedState.init.<fn>
Error loading storage: FormatException: Unexpected character (at character 13)
{"queue":[]}anonymousId":"ff3b23a3-d9b9-42cf-be59-5574cf37da38","messageId"...

Any ideas?

@edsonjab
Copy link
Contributor

hi @cerealexx we are working on the solution, thank you for your report.

@edsonjab
Copy link
Contributor

hi @cerealexx could you help me to show me your configuration to try replicate the issue, please?

@cerealexx
Copy link
Author

Configuration(
  WRITE_KEY,
  trackApplicationLifecycleEvents: true,
)

@PabloTortosaLopez
Copy link

Hey, I'm getting the same error, any updates on this?

@edsonjab
Copy link
Contributor

edsonjab commented Jul 3, 2024

Hi @PabloTortosaLopez , could you help us with the configuration of your project to know how can we replicate the issue?
Or an example similar to your project and configuration, please?

@PabloTortosaLopez
Copy link

Hey @edsonjab, this is the configuration that we are using on the project, pretty straightforward.

Configuration(
                _platformKey
                trackApplicationLifecycleEvents: true,
              )

We are using segment_analytics: ^1.0.1 and flutter 3.22.2

@brunosp15
Copy link

I'm facing the same problem, do you have any update on this?

We are using segment_analytics: 1.0.2 and flutter 3.22.1

@fhdeodato
Copy link

Hey guys,

I am facing the same trouble

image

not sure if there is an workaround for that, it is really hard to replicate... not get the error while debugging yet =(

@felipefuzaro-funda
Copy link

Hello,

We are also facing the error increase. Using segments_analytics 1.0.2 and Flutter version 3.22.2.

I was not able to reproduce it while testing. It happens mostly on iOS but we also have some error logs from Android.

Screenshot 2024-07-23 at 12 44 44 Screenshot 2024-07-23 at 12 53 08 *Logs are sampled in 1%

@felipefuzaro-funda
Copy link

I see the PR is merged, thank you for that 😄

Do you have a plan to release a new plugin version?

@PabloTortosaLopez
Copy link

Hey! I see the PR with the fix is merged 🚀

When will a new version with this fix be released?

Thank you!

@0aps
Copy link

0aps commented Aug 28, 2024

@edsonjab any clue when we'll have a new version that includes this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants