Skip to content

InvalidProtocolBufferException #157

@aggeloskoutanis

Description

@aggeloskoutanis

Describe the bug
We have been using this package for years, but we recently started receiving this error on some Android devices.

To Reproduce
I am not sure how to reproduce this.

Expected behavior
Users should not get an error.

Screenshots
Here is the error log:

androidx.datastore.preferences.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero)., Stacktrace: androidx.datastore.core.CorruptionException: Unable to parse preferences proto

It seems like the problem comes from -> conditions.dart in MinimumDaysCondition.readFromPreferences at line 73 within rate_my_app

Smartphone (please complete the following information):

  • Device: Xiaomi Poco C65 (2310FPCA4G)
  • OS: Android 15

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions